forked from firka/student-legacy
commit
93eaa5a74b
@ -155,8 +155,6 @@ class GradeProvider with ChangeNotifier {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print(gradeStreak);
|
|
||||||
|
|
||||||
user.gradeStreak = gradeStreak;
|
user.gradeStreak = gradeStreak;
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import 'package:refilc_kreta_api/client/api.dart';
|
import 'package:refilc_kreta_api/client/api.dart';
|
||||||
@ -60,7 +61,10 @@ class _KretenLoginScreenState extends State<KretenLoginScreen> {
|
|||||||
"grant_type": "authorization_code",
|
"grant_type": "authorization_code",
|
||||||
});
|
});
|
||||||
if (res != null) {
|
if (res != null) {
|
||||||
print(res);
|
if (kDebugMode) {
|
||||||
|
print(res);
|
||||||
|
}
|
||||||
|
|
||||||
// if (res.containsKey("error")) {
|
// if (res.containsKey("error")) {
|
||||||
// if (res["error"] == "invalid_grant") {
|
// if (res["error"] == "invalid_grant") {
|
||||||
// print("ERROR: invalid_grant");
|
// print("ERROR: invalid_grant");
|
||||||
|
@ -159,6 +159,16 @@ class ExtrasSettingsScreenState extends State<ExtrasSettingsScreen> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
SplittedPanel(
|
||||||
|
padding: const EdgeInsets.only(top: 9.0),
|
||||||
|
cardPadding: const EdgeInsets.all(4.0),
|
||||||
|
isSeparated: true,
|
||||||
|
children: [
|
||||||
|
MenuGradeExporting(
|
||||||
|
borderRadius: BorderRadius.circular(12.0),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user