diff --git a/src/gui/views/list.rs b/src/gui/views/list.rs index 6847067..c3675f9 100644 --- a/src/gui/views/list.rs +++ b/src/gui/views/list.rs @@ -343,11 +343,7 @@ impl List { ), LoadingState::FindingPhones => { if self.is_adb_satisfied { - waiting_view( - "Finding connected devices...", - None, - style::Text::Default, - ) + waiting_view("Finding connected devices...", None, style::Text::Default) } else { waiting_view( "ADB is not installed on your system, install ADB and relaunch application.", diff --git a/src/gui/views/settings.rs b/src/gui/views/settings.rs index 5d3b049..50aa472 100644 --- a/src/gui/views/settings.rs +++ b/src/gui/views/settings.rs @@ -102,7 +102,7 @@ impl Settings { .find(|d| d.device_id == phone.adb_id) { Some(device) => { - self.device.clone_from(&device); + self.device.clone_from(device); self.device.backup = backup; } None => {