mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-21 05:38:42 -04:00
deadlock cleanup
This commit is contained in:
parent
23867a1784
commit
2141dbff21
40 changed files with 254 additions and 253 deletions
|
@ -47,7 +47,7 @@ class VeilidChatApp extends StatelessWidget {
|
|||
|
||||
final ThemeData initialThemeData;
|
||||
|
||||
void _reloadTheme(BuildContext context) {
|
||||
void reloadTheme(BuildContext context) {
|
||||
singleFuture(this, () async {
|
||||
log.info('Reloading theme');
|
||||
|
||||
|
@ -95,7 +95,7 @@ class VeilidChatApp extends StatelessWidget {
|
|||
},
|
||||
child: Actions(actions: <Type, Action<Intent>>{
|
||||
ReloadThemeIntent: CallbackAction<ReloadThemeIntent>(
|
||||
onInvoke: (intent) => _reloadTheme(context)),
|
||||
onInvoke: (intent) => reloadTheme(context)),
|
||||
AttachDetachIntent: CallbackAction<AttachDetachIntent>(
|
||||
onInvoke: (intent) => _attachDetach(context)),
|
||||
}, child: Focus(autofocus: true, child: builder(context)))));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue