feat: Add experimental todo list for rooms

This commit is contained in:
krille-chan 2023-10-28 20:40:14 +02:00
commit b2d3b32ba8
No known key found for this signature in database
7 changed files with 528 additions and 1 deletions

View file

@ -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;
}