File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ def adb_twrp_format_data(bin_path: Path):
158158@add_logging ("Wipe the selected partition with adb and twrp." , return_if_fail = True )
159159def adb_twrp_wipe_partition (bin_path : Path , partition : str ):
160160 """Perform a factory reset with twrp and adb."""
161- for line in run_command ("adb shell twrp wipe {partition}" , bin_path ):
161+ for line in run_command (f "adb shell twrp wipe { partition } " , bin_path ):
162162 yield line
163163
164164
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ def check_advanced_switch(e):
6363 logger .info ("Disable advanced output." )
6464 self .state .advanced = False
6565 self .terminal_box .toggle_visibility ()
66+ self .right_view .update ()
6667
6768 self .advanced_switch = Switch (
6869 label = "Advanced output" ,
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ def check_advanced_switch(e):
6363 logger .info ("Disable advanced output." )
6464 self .state .advanced = False
6565 self .terminal_box .toggle_visibility ()
66+ self .right_view .update ()
6667
6768 self .advanced_switch = Switch (
6869 label = "Advanced output" ,
You can’t perform that action at this time.
0 commit comments