mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-31 05:23:28 +01:00 
			
		
		
		
	Corrections
This commit is contained in:
		| @@ -51,21 +51,12 @@ class SettingsProvider with ChangeNotifier { | ||||
|     notifyListeners(); | ||||
|   } | ||||
|  | ||||
|   String get appFont { | ||||
|     return prefs?.getString('appFont') ?? 'Metropolis'; | ||||
|   bool get useSystemFont { | ||||
|     return prefs?.getBool('useSystemFont') ?? false; | ||||
|   } | ||||
|  | ||||
|   set appFont(String appFont) { | ||||
|     prefs?.setString('appFont', appFont); | ||||
|     notifyListeners(); | ||||
|   } | ||||
|  | ||||
|   bool get tryUseSystemFont { | ||||
|     return prefs?.getBool('tryUseSystemFont') ?? false; | ||||
|   } | ||||
|  | ||||
|   set tryUseSystemFont(bool tryUseSystemFont) { | ||||
|     prefs?.setBool('tryUseSystemFont', tryUseSystemFont); | ||||
|   set useSystemFont(bool useSystemFont) { | ||||
|     prefs?.setBool('useSystemFont', useSystemFont); | ||||
|     notifyListeners(); | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user