mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-29 12:33:28 +01:00 
			
		
		
		
	Language fix for #185
This commit is contained in:
		| @@ -145,8 +145,11 @@ class _SettingsPageState extends State<SettingsPage> { | ||||
|         ], | ||||
|         onChanged: (value) { | ||||
|           settingsProvider.forcedLocale = value; | ||||
|           context.setLocale(Locale(settingsProvider.forcedLocale ?? | ||||
|               context.fallbackLocale!.languageCode)); | ||||
|           if (value != null) { | ||||
|             context.setLocale(Locale(value)); | ||||
|           } else { | ||||
|             context.resetLocale(); | ||||
|           } | ||||
|         }); | ||||
|  | ||||
|     var intervalDropdown = DropdownButtonFormField( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user