Fix unauthorized error (#1153)

This commit is contained in:
Imran Remtulla
2023-12-16 01:44:02 -05:00
parent 2dec52e221
commit f9bab18076

View File

@@ -213,7 +213,8 @@ class SettingsProvider with ChangeNotifier {
}
String? getSettingString(String settingId) {
return prefs?.getString(settingId);
String? str = prefs?.getString(settingId);
return str?.isNotEmpty == true ? str : null;
}
void setSettingString(String settingId, String value) {