Simplify key backup unlocking

Replaces the separate text fields for security keys and backup passphrases with a single on; internally, both methods are then tried.
This commit is contained in:
Tobias Fella
2025-11-10 22:20:47 +01:00
committed by Tobias Fella
parent 52f71d5c55
commit 3c8ca0d421
3 changed files with 56 additions and 54 deletions

View File

@@ -222,6 +222,8 @@ public:
*/
bool isVerifiedSession() const;
Q_INVOKABLE void unlockSSSS(const QString &secret);
Q_SIGNALS:
void globalUrlPreviewEnabledChanged();
void labelChanged();
@@ -259,6 +261,9 @@ Q_SIGNALS:
*/
void ownSessionVerified();
void keyBackupUnlocked();
void keyBackupError();
private:
static bool m_globalUrlPreviewDefault;
static PushRuleAction::Action m_defaultAction;