Skip to content

Commit 7203461

Browse files
fix: custom keyphrase (#937)
1 parent 9026001 commit 7203461

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/main/java/com/yogeshpaliyal/keypass/ui/backup/components/CreateCustomKeyphrase.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ fun CreateCustomKeyphrase(saveKeyphrase: () -> Unit, dismissDialog: () -> Unit)
5252

5353
coroutineScope.launch {
5454
context.setBackupKey(keyphrase)
55+
saveKeyphrase.invoke()
5556
}
56-
57-
saveKeyphrase.invoke()
5857
}) {
5958
Text(stringResource(id = R.string.yes))
6059
}

0 commit comments

Comments
 (0)