mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-02 01:38:00 +00:00
fix(dektop/profile) Back up seed was gone
Brought back back up seed phrase indicator in profile menu "Privacy and security" Closes #3433
This commit is contained in:
parent
f3b8ab4749
commit
87d0a87b59
@ -37,12 +37,15 @@ ScrollView {
|
||||
Repeater {
|
||||
model: ProfileConstants.settingsMenuButtons
|
||||
delegate: StatusNavigationListItem {
|
||||
id: settingsMenuDelegate
|
||||
itemId: modelData.id
|
||||
title: modelData.text
|
||||
icon.name: modelData.icon
|
||||
selected: Config.currentMenuTab === modelData.id
|
||||
onClicked: Config.currentMenuTab = modelData.id
|
||||
visible: modelData.ifEnabled !== "browser" || appSettings.isBrowserEnabled
|
||||
badge.value: (!profileModel.mnemonic.isBackedUp && (settingsMenuDelegate.title ===
|
||||
ProfileConstants.settingsMenuButtons[0].text)) ? 1 : 0
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,36 @@
|
||||
import QtQuick 2.13
|
||||
import QtQuick.Controls 2.13
|
||||
import QtQuick.Layouts 1.12
|
||||
import StatusQ.Controls 0.1
|
||||
import "../../../../imports"
|
||||
import "../../../../shared"
|
||||
|
||||
ModalPopup {
|
||||
id: root
|
||||
width: 400
|
||||
height: 248
|
||||
|
||||
closePolicy: Popup.NoAutoClose
|
||||
|
||||
contentItem: Column {
|
||||
implicitWidth: root.width
|
||||
implicitHeight: root.height
|
||||
spacing: 8
|
||||
StatusIcon {
|
||||
icon: "check"
|
||||
}
|
||||
StatusBaseText {
|
||||
text: qsTr("You need to sign in again using the new password.")
|
||||
}
|
||||
|
||||
StatusButton {
|
||||
id: submitBtn
|
||||
anchors.right: parent.right
|
||||
text: qsTr("Log out")
|
||||
onClicked: {
|
||||
//quits the app TODO: change this to logout instead when supported
|
||||
Qt.quit();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user