mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-05 22:36:34 +00:00
Apply ktlint format
This commit is contained in:
@@ -74,7 +74,6 @@ fun MessagesView(
|
||||
modifier: Modifier = Modifier,
|
||||
onBackPressed: () -> Unit,
|
||||
) {
|
||||
|
||||
LogCompositions(tag = "MessagesScreen", msg = "Root")
|
||||
val itemActionsBottomSheetState = rememberModalBottomSheetState(
|
||||
initialValue = ModalBottomSheetValue.Hidden,
|
||||
@@ -163,7 +162,6 @@ fun MessagesViewContent(
|
||||
.fillMaxWidth()
|
||||
.wrapContentHeight(Alignment.Bottom)
|
||||
)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -34,7 +34,6 @@ class ActionListPresenter @Inject constructor() : Presenter<ActionListState> {
|
||||
|
||||
@Composable
|
||||
override fun present(): ActionListState {
|
||||
|
||||
val localCoroutineScope = rememberCoroutineScope()
|
||||
|
||||
val target: MutableState<ActionListState.Target> = remember {
|
||||
|
||||
-1
@@ -130,4 +130,3 @@ private fun SheetContent(
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -25,7 +25,6 @@ fun MessageComposerView(
|
||||
state: MessageComposerState,
|
||||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
|
||||
fun onFullscreenToggle() {
|
||||
state.eventSink(MessageComposerEvents.ToggleFullScreenState)
|
||||
}
|
||||
|
||||
+1
-1
@@ -20,5 +20,5 @@ import io.element.android.x.matrix.core.EventId
|
||||
|
||||
sealed interface TimelineEvents {
|
||||
object LoadMore : TimelineEvents
|
||||
data class SetHighlightedEvent(val eventId: EventId?): TimelineEvents
|
||||
data class SetHighlightedEvent(val eventId: EventId?) : TimelineEvents
|
||||
}
|
||||
|
||||
-1
@@ -62,7 +62,6 @@ class TimelinePresenter @Inject constructor(
|
||||
|
||||
@Composable
|
||||
override fun present(): TimelineState {
|
||||
|
||||
val localCoroutineScope = rememberCoroutineScope()
|
||||
val hasMoreToLoad = rememberSaveable {
|
||||
mutableStateOf(timeline.hasMoreToLoad)
|
||||
|
||||
Reference in New Issue
Block a user