Fixes
This commit is contained in:
@@ -48,7 +48,7 @@ FormCard.FormCardPage {
|
|||||||
standardButtons: Kirigami.Dialog.Ok
|
standardButtons: Kirigami.Dialog.Ok
|
||||||
})
|
})
|
||||||
dialog.open();
|
dialog.open();
|
||||||
root.connection.onNewKeyVerificationSession.connect(() => {
|
root.connection.newKeyVerificationSession.connect(() => {
|
||||||
dialog.close();
|
dialog.close();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ FormCard.FormCardPage {
|
|||||||
text: i18nc("@option:check", "Turn on encryption in new chats")
|
text: i18nc("@option:check", "Turn on encryption in new chats")
|
||||||
description: i18nc("@info", "If enabled, NeoChat will use encryption when starting new direct messages.")
|
description: i18nc("@info", "If enabled, NeoChat will use encryption when starting new direct messages.")
|
||||||
checked: NeoChatConfig.preferUsingEncryption
|
checked: NeoChatConfig.preferUsingEncryption
|
||||||
enabled: !NeoChatConfig.preferUsingEncryptionImmutable
|
enabled: !NeoChatConfig.isPreferUsingEncryptionImmutable
|
||||||
onToggled: {
|
onToggled: {
|
||||||
NeoChatConfig.preferUsingEncryption = checked;
|
NeoChatConfig.preferUsingEncryption = checked;
|
||||||
NeoChatConfig.save();
|
NeoChatConfig.save();
|
||||||
|
|||||||
Reference in New Issue
Block a user