mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-05 07:44:57 -04:00
checkpoint
This commit is contained in:
parent
ff14969ffa
commit
a6ba08255b
34 changed files with 1301 additions and 706 deletions
|
@ -42,7 +42,7 @@ void main() async {
|
|||
await initializeWindowControl();
|
||||
|
||||
// Make localization delegate
|
||||
final delegate = await LocalizationDelegate.create(
|
||||
final localizationDelegate = await LocalizationDelegate.create(
|
||||
fallbackLocale: 'en_US', supportedLocales: ['en_US']);
|
||||
await initializeDateFormatting();
|
||||
|
||||
|
@ -51,8 +51,8 @@ void main() async {
|
|||
|
||||
// Run the app
|
||||
// Hot reloads will only restart this part, not Veilid
|
||||
runApp(LocalizedApp(
|
||||
delegate, VeilidChatApp(initialThemeData: initialThemeData)));
|
||||
runApp(LocalizedApp(localizationDelegate,
|
||||
VeilidChatApp(initialThemeData: initialThemeData)));
|
||||
}, (error, stackTrace) {
|
||||
log.error('Dart Runtime: {$error}\n{$stackTrace}');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue