refactor: Enable more strict lints

This commit is contained in:
Christian Kußowski 2026-02-24 10:04:40 +01:00
commit 28af7bb0c7
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
65 changed files with 170 additions and 146 deletions

View file

@ -23,7 +23,7 @@ class ArchiveController extends State<Archive> {
return archive = await Matrix.of(context).client.loadArchive();
}
void forgetRoomAction(int i) async {
Future<void> forgetRoomAction(int i) async {
await showFutureLoadingDialog(
context: context,
future: () async {
@ -35,7 +35,7 @@ class ArchiveController extends State<Archive> {
setState(() {});
}
void forgetAllAction() async {
Future<void> forgetAllAction() async {
final archive = this.archive;
final client = Matrix.of(context).client;
if (archive.isEmpty) return;