Apply ktlint format
This commit is contained in:
parent
b286b8bf9d
commit
1919058aac
28 changed files with 17 additions and 39 deletions
|
|
@ -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)
|
||||
)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ class ActionListPresenter @Inject constructor() : Presenter<ActionListState> {
|
|||
|
||||
@Composable
|
||||
override fun present(): ActionListState {
|
||||
|
||||
val localCoroutineScope = rememberCoroutineScope()
|
||||
|
||||
val target: MutableState<ActionListState.Target> = remember {
|
||||
|
|
|
|||
|
|
@ -130,4 +130,3 @@ private fun SheetContent(
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ fun MessageComposerView(
|
|||
state: MessageComposerState,
|
||||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
|
||||
fun onFullscreenToggle() {
|
||||
state.eventSink(MessageComposerEvents.ToggleFullScreenState)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@ class TimelinePresenter @Inject constructor(
|
|||
|
||||
@Composable
|
||||
override fun present(): TimelineState {
|
||||
|
||||
val localCoroutineScope = rememberCoroutineScope()
|
||||
val hasMoreToLoad = rememberSaveable {
|
||||
mutableStateOf(timeline.hasMoreToLoad)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue