forked from Nexus/nexus
treewide sweepfixes
This commit is contained in:
parent
8fda43ccf8
commit
012ecd9249
41 changed files with 270 additions and 386 deletions
|
|
@ -13,8 +13,8 @@ class PushKeyController(final String instance) extends AsyncNotifier<String?> {
|
|||
|
||||
Future<void> set(String? value) async {
|
||||
final provider = KeyController.provider(KeyController.pushKeyKey);
|
||||
final notifier = ref.watch(provider.notifier);
|
||||
final prefs = IMap(json.decode(await ref.watch(provider.future) ?? "{}"));
|
||||
final notifier = ref.read(provider.notifier);
|
||||
final prefs = IMap(json.decode(await ref.read(provider.future) ?? "{}"));
|
||||
|
||||
state = .data(value);
|
||||
notifier.set(
|
||||
|
|
|
|||
Loading…
Reference in a new issue