Add a banner that offers the user to transition to native sliding sync (#3252)

* Fixes #2508 - Offer user to transition to SSS

* Rename `HomeScreenBannerMode.shown` to `HomeScreenBannerMode.show`

* Generate and use preview tests for the migration banner

* Bump the RustSDK to v1.0.46

* Address PR review comment
This commit is contained in:
Stefan Ceriu
2024-09-11 08:21:27 +03:00
committed by GitHub
parent f264c2559c
commit bef892451e
16 changed files with 186 additions and 26 deletions
+6
View File
@@ -267,6 +267,12 @@ class PreviewTests: XCTestCase {
}
}
func test_homeScreenSlidingSyncMigrationBanner() {
for preview in HomeScreenSlidingSyncMigrationBanner_Previews._allPreviews {
assertSnapshots(matching: preview)
}
}
func test_homeScreen() {
for preview in HomeScreen_Previews._allPreviews {
assertSnapshots(matching: preview)
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed37c148a5a16aea018c2592948c53c4b3029f3fc6b7d618aa212192e7bc42e5
size 108471
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18cce2502021c0927c3abbc975a24134257f23963a9197c7e6746d9745d34beb
size 130832
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b83edbd6f90916ebf6c5b6276676633d4f1bcf08750ee19a833ded4354981ba
size 70577
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8bbfc3fdccf911c6737194ba02ccbd4cabd0a5d152ed572261c1dab23cfbf803
size 105804