forked from melod1n/fast-messenger
split MessagesHistoryScreen.kt in separated composables.
Added "regular" to text field in messages history screen - for clearing formatting
This commit is contained in:
+1
-4
@@ -106,10 +106,7 @@ fun ConversationsScreen(
|
||||
onErrorViewButtonClicked: () -> Unit = {}
|
||||
) {
|
||||
val currentTheme = LocalThemeConfig.current
|
||||
|
||||
val maxLines by remember(currentTheme) {
|
||||
mutableIntStateOf(if (currentTheme.enableMultiline) 2 else 1)
|
||||
}
|
||||
val maxLines = if (currentTheme.enableMultiline) 2 else 1
|
||||
|
||||
val listState = rememberLazyListState(
|
||||
initialFirstVisibleItemIndex = screenState.scrollIndex,
|
||||
|
||||
Reference in New Issue
Block a user