mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Code quality
This commit is contained in:
committed by
Benoit Marty
parent
63706c0558
commit
c24d5fc608
+2
-2
@@ -120,7 +120,7 @@ internal fun HomeSpaceItemView(
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun NameAndIndicatorRow(
|
||||
private fun NameAndIndicatorRow(
|
||||
name: String?,
|
||||
showIndicator: Boolean,
|
||||
modifier: Modifier = Modifier,
|
||||
@@ -152,8 +152,8 @@ private fun SpaceScaffoldRow(
|
||||
spaceRoom: SpaceRoom,
|
||||
onClick: () -> Unit,
|
||||
onLongClick: () -> Unit,
|
||||
modifier: Modifier = Modifier,
|
||||
hideAvatars: Boolean,
|
||||
modifier: Modifier = Modifier,
|
||||
content: @Composable ColumnScope.() -> Unit
|
||||
) {
|
||||
val clickModifier = Modifier
|
||||
|
||||
+1
-3
@@ -7,6 +7,4 @@
|
||||
|
||||
package io.element.android.features.home.impl.spaces
|
||||
|
||||
sealed interface HomeSpacesEvents {
|
||||
|
||||
}
|
||||
sealed interface HomeSpacesEvents
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ class HomeSpacesPresenter @Inject constructor(
|
||||
}.collectAsState(persistentSetOf())
|
||||
|
||||
fun handleEvents(event: HomeSpacesEvents) {
|
||||
//when (event) { }
|
||||
// when (event) { }
|
||||
}
|
||||
|
||||
return HomeSpacesState(
|
||||
|
||||
Reference in New Issue
Block a user