Add TODO key packages
This commit is contained in:
@@ -42,14 +42,11 @@ class KeyPackageManagementViewModel(
|
||||
|
||||
fun publishNewKeyPackage() {
|
||||
viewModelScope.launch(Dispatchers.IO) {
|
||||
// TODO: Rotate all other keys...
|
||||
marmotRepository.publishMarmotKeyPackageBundle(
|
||||
publicKey = activeUserPublicKey,
|
||||
nsecPassword = "" // TODO: Implement nsecPassword logic...
|
||||
)
|
||||
|
||||
keyPackageManagementUIState = KeyPackageManagementUIState.Loaded(
|
||||
keyPackageBundles = marmotRepository.getMarmotKeyPackageBundles(activeUserPublicKey)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user