added grade delay to details and other small shit

This commit is contained in:
Kima
2024-09-27 23:07:18 +02:00
parent 92fe3b7dcd
commit 7919d0e284
7 changed files with 30 additions and 8 deletions

View File

@@ -71,6 +71,8 @@ Future<void> syncAll(BuildContext context) {
if (studentJson == null) return;
Student student = Student.fromJson(studentJson);
// print(studentJson);
user.user?.name = student.name;
// Store user
@@ -89,13 +91,11 @@ Future<void> syncAll(BuildContext context) {
return false;
}
return Future.wait(tasks).then((value) {
// Unlock
lock = false;
if(Platform.isIOS && LiveCardProvider.hasActivityStarted == true){
if (Platform.isIOS && LiveCardProvider.hasActivityStarted == true) {
PlatformChannel.endLiveActivity();
LiveCardProvider.hasActivityStarted = false;
}