style: format

This commit is contained in:
zzyyyl
2022-09-30 22:55:25 +08:00
parent 54ddca80df
commit 7ceb7cead6
4 changed files with 5 additions and 4 deletions

View File

@@ -747,7 +747,8 @@ bool asst::Controller::screencap(bool allow_reconnect)
clear_lf_info();
auto start_time = high_resolution_clock::now();
if (m_support_socket && m_server_started && screencap(m_adb.screencap_raw_by_nc, decode_raw, allow_reconnect, true)) {
if (m_support_socket && m_server_started &&
screencap(m_adb.screencap_raw_by_nc, decode_raw, allow_reconnect, true)) {
auto duration = duration_cast<milliseconds>(high_resolution_clock::now() - start_time);
if (duration < min_cost) {
m_adb.screencap_method = AdbProperty::ScreencapMethod::RawByNc;