mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
Big UI NoUploads NoLogging Fixes
This commit is contained in:
@@ -1018,7 +1018,8 @@ class StarPilotSystemLayout(_SettingsPage):
|
||||
if state:
|
||||
gui_app.push_widget(ConfirmDialog(
|
||||
tr("This will prevent your drives from being uploaded to comma connect which may impact receiving support. Are you sure?"),
|
||||
lambda res: self._params.put_bool("NoUploads", True) if res == DialogResult.CONFIRM else None
|
||||
tr("Disable"),
|
||||
callback=lambda res: self._params.put_bool("NoUploads", True) if res == DialogResult.CONFIRM else None,
|
||||
))
|
||||
else:
|
||||
self._params.put_bool("NoUploads", False)
|
||||
@@ -1027,7 +1028,8 @@ class StarPilotSystemLayout(_SettingsPage):
|
||||
if state:
|
||||
gui_app.push_widget(ConfirmDialog(
|
||||
tr("This will prevent your drives from being logged. Are you sure?"),
|
||||
lambda res: self._params.put_bool("NoLogging", True) if res == DialogResult.CONFIRM else None
|
||||
tr("Disable"),
|
||||
callback=lambda res: self._params.put_bool("NoLogging", True) if res == DialogResult.CONFIRM else None,
|
||||
))
|
||||
else:
|
||||
self._params.put_bool("NoLogging", False)
|
||||
|
||||
Reference in New Issue
Block a user