mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Use onContinue method in the back handler
This commit is contained in:
+1
-3
@@ -49,9 +49,7 @@ fun SpaceAnnouncementView(
|
|||||||
eventSink(SpaceAnnouncementEvents.Continue)
|
eventSink(SpaceAnnouncementEvents.Continue)
|
||||||
}
|
}
|
||||||
|
|
||||||
BackHandler {
|
BackHandler(onBack = ::onContinue)
|
||||||
state.eventSink(SpaceAnnouncementEvents.Continue)
|
|
||||||
}
|
|
||||||
HeaderFooterPage(
|
HeaderFooterPage(
|
||||||
modifier = modifier,
|
modifier = modifier,
|
||||||
isScrollable = true,
|
isScrollable = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user