made app modules movable in their order

This commit is contained in:
2025-02-09 15:06:14 +01:00
parent 8868914a76
commit d833cdb733
13 changed files with 300 additions and 118 deletions

View File

@ -3,7 +3,6 @@ import 'dart:convert';
import 'package:localstore/localstore.dart';
import 'apiResponse.dart';
import 'webuntis/webuntisError.dart';
abstract class RequestCache<T extends ApiResponse?> {
static const int cacheNothing = 0;
@ -40,7 +39,7 @@ abstract class RequestCache<T extends ApiResponse?> {
'json': jsonEncode(newValue),
'lastupdate': DateTime.now().millisecondsSinceEpoch
});
} on WebuntisError catch(e) {
} on Exception catch(e) {
onError(e);
}
}