[app] Define app version in a more obvious place
This commit is contained in:
parent
69295d9ecf
commit
7700148381
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue