fix: auto reload after restoring

This commit is contained in:
lollipopkit
2023-09-24 15:53:53 +08:00
parent 4619b6ef9c
commit 7bbaa5f5ab
12 changed files with 43 additions and 35 deletions

View File

@@ -35,7 +35,7 @@ class ServerProvider extends ChangeNotifier {
Timer? _timer;
Future<void> loadLocalData() async {
Future<void> load() async {
// Issue #147
// Clear all servers because of restarting app will cause duplicate servers
_servers.clear();