- server edit page display bugs, include userPubKey and pubKeyIdx
This commit is contained in:
Junyuan Feng
2022-05-25 13:10:30 +08:00
parent 4148aac31b
commit 1bd673a164
9 changed files with 25 additions and 69 deletions

View File

@@ -1,20 +1,9 @@
import 'package:toolbox/core/provider_base.dart';
import 'package:toolbox/data/service/app.dart';
class AppProvider extends BusyProvider {
Map? _notify;
Map? get notify => _notify;
int? _newestBuild;
int? get newestBuild => _newestBuild;
Future<void> loadData() async {
setBusyState(true);
final service = AppService();
_notify = await service.getNotify();
setBusyState(false);
notifyListeners();
}
void setNewestBuild(int build) {
_newestBuild = build;
notifyListeners();