mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-24 06:22:34 +01:00
fix: Set status
This commit is contained in:
parent
7f51f7f6b6
commit
7063b340ac
@ -14,6 +14,7 @@ class DefaultDrawer extends StatelessWidget {
|
||||
}
|
||||
|
||||
void _setStatus(BuildContext context) async {
|
||||
final client = Matrix.of(context).client;
|
||||
Navigator.of(context).pop();
|
||||
final input = await showTextInputDialog(
|
||||
title: L10n.of(context).setStatus,
|
||||
@ -25,7 +26,6 @@ class DefaultDrawer extends StatelessWidget {
|
||||
],
|
||||
);
|
||||
if (input == null || input.single.isEmpty) return;
|
||||
final client = Matrix.of(context).client;
|
||||
await showFutureLoadingDialog(
|
||||
context: context,
|
||||
future: () => client.sendPresence(
|
||||
|
Loading…
Reference in New Issue
Block a user