refactor: Use non nullable localizations builder and lazy load on web
This commit is contained in:
parent
8cedd2a45a
commit
0d4b7d67cc
111 changed files with 879 additions and 883 deletions
|
|
@ -101,7 +101,7 @@ extension InitWithRestoreExtension on Client {
|
|||
}
|
||||
} catch (e, s) {
|
||||
Logs().wtf('Client init failed!', e, s);
|
||||
final l10n = lookupL10n(PlatformDispatcher.instance.locale);
|
||||
final l10n = await lookupL10n(PlatformDispatcher.instance.locale);
|
||||
final sessionBackupString = await storage?.read(key: storageKey);
|
||||
if (sessionBackupString == null) {
|
||||
ClientManager.sendInitNotification(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue