Minor fixes
This commit is contained in:
parent
7e6212ff8a
commit
de29800f29
19 changed files with 156 additions and 104 deletions
|
|
@ -80,7 +80,7 @@ class MatrixState extends State<Matrix> {
|
|||
|
||||
final LocalStorage storage = LocalStorage('LocalStorage');
|
||||
await storage.ready;
|
||||
storage.deleteItem(widget.clientName);
|
||||
await storage.deleteItem(widget.clientName);
|
||||
}
|
||||
|
||||
BuildContext _loadingDialogContext;
|
||||
|
|
@ -128,10 +128,11 @@ class MatrixState extends State<Matrix> {
|
|||
void initState() {
|
||||
if (widget.client == null) {
|
||||
client = Client(widget.clientName, debug: false);
|
||||
if (!kIsWeb)
|
||||
if (!kIsWeb) {
|
||||
client.store = Store(client);
|
||||
else
|
||||
} else {
|
||||
loadAccount();
|
||||
}
|
||||
} else {
|
||||
client = widget.client;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue