Added GitHub PAT support

This commit is contained in:
Imran Remtulla
2022-09-29 21:27:54 -04:00
parent e2440a38c4
commit fbe4f0b49e
14 changed files with 136 additions and 33 deletions

View File

@@ -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);
}
}

View File

@@ -135,6 +135,7 @@ abstract class AppSource {
AppNames getAppNames(String standardUrl);
late List<List<GeneratedFormItem>> additionalDataFormItems;
late List<String> additionalDataDefaults;
late List<GeneratedFormItem> moreSourceSettingsFormItems;
}
abstract class MassAppSource {