mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-01 21:30:16 +02:00
Fix unauthorized error (#1153)
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user