Reverting compose to 1.4.2

This commit is contained in:
Vitor Pamplona
2023-04-27 17:35:53 -04:00
parent ddba4ac510
commit 1ae785061e
3 changed files with 3 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ android {
} }
dependencies { dependencies {
implementation 'androidx.core:core-ktx:1.11.0-alpha03' implementation 'androidx.core:core-ktx:1.10.0'
implementation 'androidx.activity:activity-compose:1.7.0' implementation 'androidx.activity:activity-compose:1.7.0'
implementation "androidx.compose.ui:ui:$compose_ui_version" implementation "androidx.compose.ui:ui:$compose_ui_version"
implementation "androidx.compose.ui:ui-tooling-preview:$compose_ui_version" implementation "androidx.compose.ui:ui-tooling-preview:$compose_ui_version"

View File

@@ -496,7 +496,7 @@ private fun DrawAdditionalInfo(baseUser: User, account: Account, accountViewMode
userBadge.acceptedBadges?.let { note -> userBadge.acceptedBadges?.let { note ->
(note.event as? BadgeProfilesEvent)?.let { event -> (note.event as? BadgeProfilesEvent)?.let { event ->
FlowRow(verticalArrangement = Arrangement.Center, modifier = Modifier.padding(vertical = 5.dp)) { FlowRow(verticalAlignment = Alignment.CenterVertically, modifier = Modifier.padding(vertical = 5.dp)) {
event.badgeAwardEvents().forEach { badgeAwardEvent -> event.badgeAwardEvents().forEach { badgeAwardEvent ->
val baseNote = LocalCache.notes[badgeAwardEvent] val baseNote = LocalCache.notes[badgeAwardEvent]
if (baseNote != null) { if (baseNote != null) {

View File

@@ -2,7 +2,7 @@ buildscript {
ext { ext {
fragment_version = "1.5.7" fragment_version = "1.5.7"
lifecycle_version = '2.6.1' lifecycle_version = '2.6.1'
compose_ui_version = '1.5.0-alpha03' compose_ui_version = '1.4.2'
nav_version = "2.5.3" nav_version = "2.5.3"
room_version = "2.4.3" room_version = "2.4.3"
accompanist_version = '0.30.0' accompanist_version = '0.30.0'