mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-22 09:10:44 +01:00
feat: Add isMultiAccount getter
This commit is contained in:
parent
4c3907a699
commit
12217d7cd0
@ -65,6 +65,8 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
||||
|
||||
Client get client => widget.clients[_safeActiveClient];
|
||||
|
||||
bool get isMultiAccount => widget.clients.length > 1;
|
||||
|
||||
set activeClient(int newActiveClient) =>
|
||||
setState(() => _activeClient = newActiveClient);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user