mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix
- fix: same name snippet caused err - fix: auto load servers from db after restoring
This commit is contained in:
@@ -31,7 +31,7 @@ class SnippetProvider extends ChangeNotifier {
|
||||
}
|
||||
|
||||
void _addInternal() {
|
||||
if (!Stores.setting.fTISBM.fetch()) {
|
||||
if (!Stores.setting.fTISBM.fetch() || _snippets.isNotEmpty) {
|
||||
return;
|
||||
}
|
||||
_snippets.add(installSBM);
|
||||
|
||||
Reference in New Issue
Block a user