mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 08:15:24 +00:00
Fix settings screen snapshots.
This commit is contained in:
@@ -261,7 +261,10 @@ struct SettingsScreen: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private var versionText: Text {
|
private var versionText: Text {
|
||||||
Text(L10n.settingsVersionNumber(InfoPlistReader.main.bundleShortVersionString, InfoPlistReader.main.bundleVersion))
|
// Let's not snapshot a changing version string.
|
||||||
|
let shortVersion = ProcessInfo.isRunningTests ? "0.0.0" : InfoPlistReader.main.bundleShortVersionString
|
||||||
|
let version = ProcessInfo.isRunningTests ? "1" : InfoPlistReader.main.bundleVersion
|
||||||
|
return Text(L10n.settingsVersionNumber(shortVersion, version))
|
||||||
}
|
}
|
||||||
|
|
||||||
private var toolbar: some ToolbarContent {
|
private var toolbar: some ToolbarContent {
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:1f726044d8a49d258c45fed908f8b8f01ebcded5bbbc38b02a0cff3dcd6c034e
|
oid sha256:7cc8be17e5e826f5eee593e5efc1d892091b532812a4bdfccfccf3906d14583b
|
||||||
size 197258
|
size 196314
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:42a6af7f39cb3a6d50e84e256791b1dc5f08f545bdc3ef2f43d67e52ef44531d
|
oid sha256:9cd11e2f1992f7f88d0c12e516d8a3190cf0aba0a47ee697374ceaea292317ae
|
||||||
size 207954
|
size 207045
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:cd22f43cdcddea73a1d2f1c4b9422baed91912212372b9960ed3e71aba3c3aa5
|
oid sha256:b0192d974f60b02aa4249c2ca3112978a64cca7db0314e0966243e917f471598
|
||||||
size 128292
|
size 127523
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:d94de7877b34ea3c7ecab8a05814a13e68fecb57b192d7021e7e1a915372efbb
|
oid sha256:56419a744fb9b744c427343039e8288616a03d547c6bfd12548f7716dc092baf
|
||||||
size 208219
|
size 207266
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:311918b62e279dc255d8111b50f2496c1335f9af883134c2edb2ba3db75e8e0b
|
oid sha256:d4aa0dc3b427460d0518c9f990ba34b8fb465456e5ed01ccb1f60fa4e2ebf3c7
|
||||||
size 219747
|
size 218904
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:0c651a47907c1892238d8d3b8bdfced2ccbb48e37db2d7cd5c0329768f7fee06
|
oid sha256:8ce76b4573e50c01e873c9f64e84b38447b88efbb1e0350f6cd92a2da4ec9533
|
||||||
size 135855
|
size 135034
|
||||||
|
|||||||
Reference in New Issue
Block a user