mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-10-31 03:57:27 +01:00 
			
		
		
		
	fix: Web server picker
This commit is contained in:
		
							parent
							
								
									d0635d9dd4
								
							
						
					
					
						commit
						4cb19be8ad
					
				| @ -16,8 +16,8 @@ import 'package:random_string/random_string.dart'; | ||||
| Future<LocalStorage> getLocalStorage() async { | ||||
|   final directory = PlatformInfos.isBetaDesktop | ||||
|       ? await getApplicationSupportDirectory() | ||||
|       : await getApplicationDocumentsDirectory(); | ||||
|   final localStorage = LocalStorage('LocalStorage', directory.path); | ||||
|       : (PlatformInfos.isWeb ? null : await getApplicationDocumentsDirectory()); | ||||
|   final localStorage = LocalStorage('LocalStorage', directory?.path); | ||||
|   await localStorage.ready; | ||||
|   return localStorage; | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sorunome
						Sorunome