We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d0823d commit 7170a60Copy full SHA for 7170a60
1 file changed
internal_filesystem/lib/mpos/ui/setting_activity.py
@@ -46,7 +46,7 @@ def onCreate(self):
46
47
ui = setting.get("ui")
48
ui_options = setting.get("ui_options")
49
- current_setting = self.prefs.get_string(setting["key"])
+ current_setting = self.prefs.get_string(setting["key"], setting.get("default_value"))
50
if ui and ui == "radiobuttons" and ui_options:
51
# Create container for radio buttons
52
self.radio_container = lv.obj(settings_screen_detail)
0 commit comments