mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-21 14:42:07 +08:00
Remove some blocking params
This commit is contained in:
@@ -117,7 +117,7 @@ class NetworkLayoutMici(NavScroller):
|
||||
if apn == "":
|
||||
ui_state.params.remove("GsmApn")
|
||||
else:
|
||||
ui_state.params.put("GsmApn", apn, block=True)
|
||||
ui_state.params.put("GsmApn", apn)
|
||||
|
||||
current_apn = ui_state.params.get("GsmApn") or ""
|
||||
dlg = BigInputDialog("enter APN...", current_apn, minimum_length=0, confirm_callback=update_apn)
|
||||
|
||||
@@ -92,7 +92,7 @@ class AbstractAlert(Widget, ABC):
|
||||
self.dismiss_callback: Callable | None = None
|
||||
|
||||
def snooze_callback():
|
||||
self.params.put_bool("SnoozeUpdate", True, block=True)
|
||||
self.params.put_bool("SnoozeUpdate", True)
|
||||
if self.dismiss_callback:
|
||||
self.dismiss_callback()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user