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
|
|
@ -48,8 +48,8 @@ abstract class ClientManager {
|
|||
await Future.wait(
|
||||
clients.map(
|
||||
(client) => client.initWithRestore(
|
||||
onMigration: () {
|
||||
final l10n = lookupL10n(PlatformDispatcher.instance.locale);
|
||||
onMigration: () async {
|
||||
final l10n = await lookupL10n(PlatformDispatcher.instance.locale);
|
||||
sendInitNotification(
|
||||
l10n.databaseMigrationTitle,
|
||||
l10n.databaseMigrationBody,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue