[app] Define app version in a more obvious place

This commit is contained in:
Slava Monich 2021-11-01 00:57:34 +02:00
parent 69295d9ecf
commit 7700148381
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
.pragma library .pragma library
var version = "1.0.43"
function contentOpacity(brightness) { function contentOpacity(brightness) {
return 0.4 + brightness * 0.6 return 0.4 + brightness * 0.6
} }

View file

@ -133,7 +133,7 @@ Page {
description: inApp ? "" : description: inApp ? "" :
//: Settings page header description (app version) //: Settings page header description (app version)
//% "Version %1" //% "Version %1"
qsTrId("harbour-books-settings-version").arg("1.0.43") qsTrId("harbour-books-settings-version").arg(Books.version)
Image { Image {
id: appIcon id: appIcon