element-x-ada/appnav/src/main/kotlin/io/element/android/appnav
Jorge Martin Espinosa 8154aa3319 Add banner for optional migration to simplified sliding sync (#3429)
* Add banner for optional migration to native sliding sync

- Add `MatrixClient.isNativeSlidingSyncSupported()` and `MatrixClient.isUsingNativeSlidingSync` to check whether the home server supports native sliding sync and we're already using it.
- Add `NativeSlidingSyncMigrationBanner` composable to the `RoomList` screen when the home server supports native sliding sync but the current session is not using it.
- Add an extra logout successful action to the logout flow, create `EnableNativeSlidingSyncUseCase` so it can be used there.

* Update screenshots

* Make sure the sliding sync migration banner has lower priority than the encryption setup ones

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-09-09 18:13:19 +02:00
..
di Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
intent Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
loggedin Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
room Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
root Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
BackstackExt.kt Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
LoggedInAppScopeFlowNode.kt Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
LoggedInEventProcessor.kt Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
LoggedInFlowNode.kt Add banner for optional migration to simplified sliding sync (#3429) 2024-09-09 18:13:19 +02:00
NotLoggedInFlowNode.kt Migrate license to AGPL. 2024-09-06 17:19:19 +02:00
RootFlowNode.kt Migrate license to AGPL. 2024-09-06 17:19:19 +02:00