Fix formatting
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ fun LocationShareRow(
|
||||
Text(
|
||||
text = if (item.isLive) stringResource(CommonStrings.screen_room_live_location_banner) else item.formattedTimestamp,
|
||||
style = ElementTheme.typography.fontBodySmRegular,
|
||||
color = if(item.isLive) ElementTheme.colors.textPrimary else ElementTheme.colors.textSecondary,
|
||||
color = if (item.isLive) ElementTheme.colors.textPrimary else ElementTheme.colors.textSecondary,
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
)
|
||||
|
||||
+2
-2
@@ -43,7 +43,7 @@ import io.element.android.libraries.matrix.api.room.joinedRoomMembers
|
||||
import io.element.android.libraries.ui.strings.CommonStrings
|
||||
import io.element.android.services.toolbox.api.strings.StringProvider
|
||||
import kotlinx.collections.immutable.persistentListOf
|
||||
import kotlinx.collections.immutable.toPersistentList
|
||||
import kotlinx.collections.immutable.toImmutableList
|
||||
import kotlinx.coroutines.flow.combine
|
||||
|
||||
@AssistedInject
|
||||
@@ -161,7 +161,7 @@ class ShowLocationPresenter(
|
||||
isLive = true,
|
||||
assetType = lastLocation.assetType,
|
||||
)
|
||||
}.toPersistentList()
|
||||
}.toImmutableList()
|
||||
}.collect { value = it }
|
||||
}.value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user