slight cleanups
This commit is contained in:
parent
23046f08a9
commit
00f22d46b7
11 changed files with 24 additions and 33 deletions
|
|
@ -191,10 +191,9 @@ class ClientController extends AsyncNotifier<int> {
|
|||
}
|
||||
}
|
||||
|
||||
Future<RecoveryKey> generateRecoveryKey({String passphrase = ""}) async =>
|
||||
.fromJson(
|
||||
await _sendCommand("generate_recovery_key", {"passphrase": passphrase}),
|
||||
);
|
||||
Future<RecoveryKey> generateRecoveryKey(String passphrase) async => .fromJson(
|
||||
await _sendCommand("generate_recovery_key", {"passphrase": passphrase}),
|
||||
);
|
||||
|
||||
Future<void> resetEncryption(RecoveryKey key) =>
|
||||
_sendCommand("reset_encryption", key.toJson());
|
||||
|
|
|
|||
Loading…
Reference in a new issue