diff --git a/internal/bridge/credits.go b/internal/bridge/credits.go index 855a7186..73fae98a 100644 --- a/internal/bridge/credits.go +++ b/internal/bridge/credits.go @@ -15,7 +15,7 @@ // You should have received a copy of the GNU General Public License // along with ProtonMail Bridge. If not, see . -// Code generated by ./credits.sh at Thu Aug 20 14:25:06 CEST 2020. DO NOT EDIT. +// Code generated by ./credits.sh at Fri Aug 21 10:29:43 CEST 2020. DO NOT EDIT. package bridge diff --git a/internal/frontend/qml/ImportExportUI/VersionInfo.qml b/internal/frontend/qml/ImportExportUI/VersionInfo.qml index ad90488d..eeb38873 100644 --- a/internal/frontend/qml/ImportExportUI/VersionInfo.qml +++ b/internal/frontend/qml/ImportExportUI/VersionInfo.qml @@ -108,6 +108,16 @@ Item { root.parent.hide() } } + + + AccessibleSelectableText { + anchors.horizontalCenter: content.horizontalCenter + font { + pointSize : Style.main.fontSize * Style.pt + } + color: Style.main.textDisabled + text: "\n Current: "+go.fullversion + } } } } diff --git a/internal/frontend/qt-ie/frontend.go b/internal/frontend/qt-ie/frontend.go index c45b3f0e..e34e7468 100644 --- a/internal/frontend/qt-ie/frontend.go +++ b/internal/frontend/qt-ie/frontend.go @@ -218,6 +218,7 @@ func (f *FrontendQt) QtExecute(Procedure func(*FrontendQt) error) error { // List of used packages f.Qml.SetCredits(importexport.Credits) + f.Qml.SetFullversion(f.buildVersion) // Loop if ret := gui.QGuiApplication_Exec(); ret != 0 { diff --git a/internal/frontend/qt-ie/ui.go b/internal/frontend/qt-ie/ui.go index 26029a65..1ae5733a 100644 --- a/internal/frontend/qt-ie/ui.go +++ b/internal/frontend/qt-ie/ui.go @@ -49,6 +49,7 @@ type GoQMLInterface struct { _ string `property:"programTitle"` _ string `property:"newversion"` + _ string `property:"fullversion"` _ string `property:"downloadLink"` _ string `property:"landingPage"` _ string `property:"changelog"` diff --git a/internal/importexport/credits.go b/internal/importexport/credits.go index 06d89a7c..60465343 100644 --- a/internal/importexport/credits.go +++ b/internal/importexport/credits.go @@ -15,7 +15,7 @@ // You should have received a copy of the GNU General Public License // along with ProtonMail Bridge. If not, see . -// Code generated by ./credits.sh at Thu Aug 20 14:25:06 CEST 2020. DO NOT EDIT. +// Code generated by ./credits.sh at Fri Aug 21 10:29:44 CEST 2020. DO NOT EDIT. package importexport