feat: Add experimental todo list for rooms
This commit is contained in:
parent
f028b12185
commit
b2d3b32ba8
7 changed files with 528 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
||||
import 'package:matrix/matrix.dart';
|
||||
|
||||
import 'package:fluffychat/pages/tasks/tasks.dart';
|
||||
import 'uia_request_manager.dart';
|
||||
|
||||
extension LocalizedExceptionExtension on Object {
|
||||
|
|
@ -19,6 +20,9 @@ extension LocalizedExceptionExtension on Object {
|
|||
return (this as MatrixException).errorMessage;
|
||||
}
|
||||
}
|
||||
if (this is TodoListChangedException) {
|
||||
return L10n.of(context)!.todoListChangedError;
|
||||
}
|
||||
if (this is FileTooBigMatrixException) {
|
||||
return L10n.of(context)!.fileIsTooBigForServer;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue