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