Skip to content

Commit b1ebd3e

Browse files
Update Compose BOM
1 parent 4758244 commit b1ebd3e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

app/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,10 @@ dependencies {
284284
implementation "org.ocpsoft.prettytime:prettytime:5.0.8.Final"
285285

286286
// Jetpack Compose
287-
implementation(platform('androidx.compose:compose-bom:2024.06.00'))
288-
implementation 'androidx.compose.material3:material3:1.3.0-beta04'
287+
implementation(platform('androidx.compose:compose-bom:2024.08.00'))
288+
implementation 'androidx.compose.material3:material3'
289289
implementation 'androidx.activity:activity-compose'
290290
implementation 'androidx.compose.ui:ui-tooling-preview'
291-
implementation 'androidx.compose.ui:ui-text:1.7.0-beta05' // Needed for parsing HTML to AnnotatedString
292291
implementation 'com.github.nanihadesuka:LazyColumnScrollbar:2.2.0'
293292

294293
// Library loading for About screen

app/src/main/java/org/schabi/newpipe/ui/screens/AboutScreen.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package org.schabi.newpipe.ui.screens
22

33
import android.content.res.Configuration
4+
import androidx.compose.foundation.ExperimentalFoundationApi
45
import androidx.compose.foundation.layout.Column
56
import androidx.compose.foundation.layout.PaddingValues
67
import androidx.compose.foundation.layout.fillMaxWidth
@@ -31,6 +32,7 @@ import org.schabi.newpipe.ui.theme.AppTheme
3132

3233
private val TITLES = intArrayOf(R.string.tab_about, R.string.tab_licenses)
3334

35+
@OptIn(ExperimentalFoundationApi::class)
3436
@Composable
3537
@NonRestartableComposable
3638
fun AboutScreen(padding: PaddingValues) {

0 commit comments

Comments
 (0)