Fehlerkorrekturen und Erweiterungen
This commit is contained in:
1 parent
19b5b255ef
commit
a16a8fcf28
18 files changed
+88
-239
No files matched your search
@@ -42,12 +42,22 @@ class _ApproachAreaPageState extends State<ApproachAreaPage> with ProducerMixin,
|
||||
|
||||
_initCompleted = true;
|
||||
|
||||
setState(() {});
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
}
|
||||
});
|
||||
|
||||
_initMessages();
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
// Unsubscribe from all message topics
|
||||
unsubscribe(queueId: Constants.messageTopicRankingUpdated);
|
||||
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
if (!_initCompleted) {
|
||||
@@ -204,7 +214,9 @@ class _ApproachAreaPageState extends State<ApproachAreaPage> with ProducerMixin,
|
||||
callback: (message) async {
|
||||
_ranking = await MyApp.isarInstance.rankings.where().findFirst();
|
||||
|
||||
setState(() {});
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user