mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-26 19:23:45 +01:00
Added GitHub PAT support
This commit is contained in:
@@ -122,4 +122,12 @@ class SettingsProvider with ChangeNotifier {
|
||||
prefs?.setBool('showAppWebpage', show);
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
String? getSettingString(String settingId) {
|
||||
return prefs?.getString(settingId);
|
||||
}
|
||||
|
||||
void setSettingString(String settingId, String value) {
|
||||
prefs?.setString(settingId, value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user