mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Live Location Sharing Banner (#5370)
* Live Location Sharing Banner # Conflicts: # ElementX.xcodeproj/project.pbxproj * updated the top banner modifier and the top banner views # Conflicts: # ElementX/Resources/Localizations/en-US.lproj/Localizable.strings # ElementX/Resources/Localizations/en.lproj/Localizable.strings * improved the stopping function from the timeline item * stop live location sharing before starting a new one. * added some tests for LiveLocationManager * pr suggestions
This commit is contained in:
@@ -603,6 +603,14 @@ extension PreviewTests {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
func liveLocationSharingBannerView() async throws {
|
||||
AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings.
|
||||
for (index, preview) in LiveLocationSharingBannerView_Previews._allPreviews.enumerated() {
|
||||
try await assertSnapshots(matching: preview, step: index)
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
func loadableImage() async throws {
|
||||
AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings.
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4cc21640dc10190ddfa345a83c8e4bedae2cca526f3a517980b917df1fd819c1
|
||||
size 92313
|
||||
oid sha256:1add71eec72332f3d0f4f56f45068eb44a27290d16b5699ae16d523180b21315
|
||||
size 30977
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4119ef48dd28330cbe9989a5e2842795b2e14874a7e03d353267a7530041b475
|
||||
size 93248
|
||||
oid sha256:09e6a9bfffd30aed0d98e81d0f83363517948f42b178bdaa697839474c0b28d2
|
||||
size 31918
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:123673378b70eba1774e7f738d0b9704344158dc3ac6a8316724628a6317e161
|
||||
size 50246
|
||||
oid sha256:183f69e4d8bff9139f39194fd86ab630806376f11b0d8e48b7fdbc34df5ba5cf
|
||||
size 22773
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3549c8ec426dbf2210ff9e7c0969ecdb7dc5b15d605d157b3754a9c09b0a8991
|
||||
size 49872
|
||||
oid sha256:2fb13539b94dc0e8ffec3949616b1f1d08b0c01cfeeca864d3a87f37cd7995a2
|
||||
size 23345
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dca4b68102343046709e0d3430e0e2409b04f47fa6a35e8df489246be29500e2
|
||||
size 95109
|
||||
oid sha256:7ed343dc6fdfe8fe86931ac57bb5de221b893e67ea6740f09b03da2f0d5022f6
|
||||
size 33984
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6f20f61ab302e2a69373646f3e713e5bfe729d317ff19cf5362d2b67cf7b844d
|
||||
size 98462
|
||||
oid sha256:c72a9cb9efee8db318182df426a39542100cb8f634646364f5ab2371e2eee743
|
||||
size 37324
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:32cccc3b9096777d7385bb34b4f76d1ae023a4b4d96be3021dd2de7eae4b6526
|
||||
size 53001
|
||||
oid sha256:8df4c96c5f7ed1e16b00eed25ee489779b82108e616cf5fcd347b02479018fe2
|
||||
size 25336
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6366953f27bdf503d01e7b8ff34396ac7ba5e514d93723aab6870229979a759
|
||||
size 61857
|
||||
oid sha256:41ae37d20af35cc9eafbc37a3a58551c8b08a7fce2f2e5c8b1016540d4a04391
|
||||
size 32666
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f0ee54a8bd1364f456cedf7c8a5f6f0652d4e26f3d34bf3a14b8fa564ae41028
|
||||
size 97300
|
||||
oid sha256:1b7b864242e784d8ddc6f95be8f0e9e27c81b4fac495c587381b0602d520a8a5
|
||||
size 36897
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cec2564a143dceb7ea8c6b23e1bb2f2f4626af08ae11dfe6b4365a4c95f96efa
|
||||
size 102100
|
||||
oid sha256:435a74365d46ac1366bf2c6343d349cce8fec2766cb09b2d61c7f92187a4e285
|
||||
size 41658
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af1e8fb046d261c1e7274cfd61033e1fef539b8f13af8b14045d36c237cf458c
|
||||
size 52975
|
||||
oid sha256:410bbb9cf2020e28ae5da029aa7aa370c49351eb706692db7e1e976cde373a52
|
||||
size 25816
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:49301d759419c2418fe628957e6dbd14702a0625d6307c2dcc1f4a2dc1d715ef
|
||||
size 63378
|
||||
oid sha256:573d09b7aba1e7a20a20090ad2baf4236f7024bdb7d266383a8ccbd68c525eec
|
||||
size 35993
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f5a7b449241c47f37a05f16196e9f1478e861dba372cd740d8113471b4c64573
|
||||
size 92965
|
||||
oid sha256:4e4353be9b16318ec5774ed9ce19bcd7092dcb575958ed003ece8a7e8ce1e6f9
|
||||
size 32609
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a8c2022369fe6c681b6645fcc87485a390a548743b03ff4125f8aa01ff50985f
|
||||
size 97357
|
||||
oid sha256:006f2ac00dc322f133db40b9c22d7e9a74bf06420487a333d01d4f12aa41ba77
|
||||
size 36956
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:75f23e3dd857927ff19e65481a429f0b066543d938b6418cd742b2462d038817
|
||||
size 49340
|
||||
oid sha256:249790076d8003df15316cfa253a502fd44fb7dc66a6642dcf4cdcdab0b9d9e4
|
||||
size 22412
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c27af06d422419337c232ea0e67f23ae5efafc42d17986e56d141aa27ea71e4
|
||||
size 56198
|
||||
oid sha256:51461496517a802c737c245e510de941a176cf93f2759daf2c9e2e4053a41b36
|
||||
size 28381
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1eca3d3966ed170902068948b0e06792f5a86a957bc5e9fa4ee12367db0ecfdc
|
||||
size 110095
|
||||
oid sha256:b6316e6324dbd72e72dc0eb8cf09b80e7788c091746fbff2dd7f62220b146984
|
||||
size 52744
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3fbf972978286e7a63cbe2edbeb1c3af50ecb37752706307dc0b276a73d60fd
|
||||
size 114871
|
||||
oid sha256:bf1476690cc3cccf2ce3966b6791510a44d65ba1370563fcc3a560b6fc548aba
|
||||
size 57490
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e819430839323b67d25f477fe9de16caf0d4e3cdeb6950edcc105e6e1b95413a
|
||||
size 65778
|
||||
oid sha256:2b94ac6d13906cddffe740a57b5c044adc9389a9d7514fe576d2e0e8080c923f
|
||||
size 40671
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aff4b437d86ccd489cc49b675befcfb98660c4abfdca7d7e8a57d5f57877ce77
|
||||
size 75574
|
||||
oid sha256:7c637b790aff4bb5341be902d80681fc04618ac94816dc7f0f675048c0849645
|
||||
size 50880
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ae5fb963478cbc8abf7dc4732ea8f4295ba86efd9e917d2e167378a6e06520f6
|
||||
size 14937
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:45a96c2f592cbc5cf7a2f1282679bc4b7d592e903df161f0e10c853b4401cd6e
|
||||
size 18159
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:acc5d3b386e57b63e6e2386b96d3cde0eb1afa9b0cc8fc914e1495882e39b691
|
||||
size 10977
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6126e63cf2456619c7e6d2212e6fbf4b6f5af7426df7241ca2039314827da64
|
||||
size 15642
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f727d2737e536d158ec5488ef7ae670bdf17b4f10789f560340b3c7b36cb2c76
|
||||
size 143061
|
||||
oid sha256:aaedf20685450b28deb7e16673a0f26a888fa345a55c603a68ac3d781e1aea42
|
||||
size 79416
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:784b2e39ddcd2c1c04669c1e9dd00dddb9388b738afa283732bf389304d7b398
|
||||
size 170747
|
||||
oid sha256:4a8de9fae72c3bbcf8a5d205f989ecaa2c3d6313a4597a6b93027651e4cb2f3c
|
||||
size 99670
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:79abbb9b6c53da934a3451ed8d61d89c441500a5f6986e07c8fc9c32784afab6
|
||||
size 87380
|
||||
oid sha256:0f627cbfbd1c93ad7c77dd41ef3020f3c652ef53b64ebc51bfa30cd364538168
|
||||
size 52157
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e196ada8c3f0f808868a80330e7a389d658519903cb51680d27ddfa4bd33ea60
|
||||
size 101585
|
||||
oid sha256:fc3309c3d3e7f290cc21e04d0cb239e8067e961bd4c4c56c9c102ec448852306
|
||||
size 57519
|
||||
|
||||
Reference in New Issue
Block a user