welcomepage: re-add credits + changelog
Change-Id: Ib253521997c3271885f83c628e918bb26ae61a2c
diff --git a/src/mainview/components/WelcomePage.qml b/src/mainview/components/WelcomePage.qml
index ad48871..49d8061 100644
--- a/src/mainview/components/WelcomePage.qml
+++ b/src/mainview/components/WelcomePage.qml
@@ -99,37 +99,27 @@
Rectangle {
id: jamiRegisteredNameRect
-
Layout.alignment: Qt.AlignCenter
Layout.preferredWidth: welcomeRectComponentsGroup.width
Layout.preferredHeight: 65
Layout.bottomMargin: 5
-
visible: accountListModel.data(accountListModel.index(
0, 0),
260) === 1
ColumnLayout {
id: jamiRegisteredNameRectColumnLayout
-
spacing: 0
-
Text {
id: jamiRegisteredNameText
-
Layout.alignment: Qt.AlignCenter
Layout.preferredWidth: welcomeRectComponentsGroup.width
Layout.preferredHeight: 30
-
font.pointSize: JamiTheme.textFontSize + 1
-
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
-
text: textMetricsjamiRegisteredNameText.elidedText
-
TextMetrics {
id: textMetricsjamiRegisteredNameText
-
font: jamiRegisteredNameText.font
text: accountListModel.data(
accountListModel.index(
@@ -138,17 +128,13 @@
elide: Qt.ElideMiddle
}
}
-
HoverableButton {
id: copyRegisterednameButton
-
Layout.alignment: Qt.AlignCenter
Layout.preferredWidth: buttonPreferredSize
Layout.preferredHeight: buttonPreferredSize
-
radius: 30
source: "qrc:/images/icons/ic_content_copy.svg"
-
onClicked: {
ClientWrapper.utilsAdaptor.setText(
textMetricsjamiRegisteredNameText.text)
@@ -159,6 +145,24 @@
}
}
+
+ Button {
+ anchors.bottom: parent.bottom
+ anchors.horizontalCenter: parent.horizontalCenter
+ background: Rectangle {
+ color: "transparent"
+ }
+ anchors.bottomMargin: 12
+ contentItem: Text {
+ text: qsTr("About Jami")
+ color: "grey"
+ }
+
+ onClicked: {
+ aboutPopUpDialog.open()
+ }
+ }
+
CustomBorder {
commonBorder: false
lBorderwidth: 1