This commit is contained in:
parent
6c5c592471
commit
b428e996f0
@ -104,8 +104,7 @@ class _MountWidgetState extends State<MountWidget> {
|
|||||||
void initState() {
|
void initState() {
|
||||||
super.initState();
|
super.initState();
|
||||||
_timer = Timer.periodic(const Duration(seconds: 5), (_) {
|
_timer = Timer.periodic(const Duration(seconds: 5), (_) {
|
||||||
var provider = Provider.of<Mount>(context, listen: false);
|
Provider.of<Mount>(context, listen: false).refresh();
|
||||||
provider.refresh();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user