mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-03 05:50:32 +00:00
Update Compose BOM
This commit is contained in:
parent
4758244cf5
commit
b1ebd3ecd9
@ -284,11 +284,10 @@ dependencies {
|
||||
implementation "org.ocpsoft.prettytime:prettytime:5.0.8.Final"
|
||||
|
||||
// Jetpack Compose
|
||||
implementation(platform('androidx.compose:compose-bom:2024.06.00'))
|
||||
implementation 'androidx.compose.material3:material3:1.3.0-beta04'
|
||||
implementation(platform('androidx.compose:compose-bom:2024.08.00'))
|
||||
implementation 'androidx.compose.material3:material3'
|
||||
implementation 'androidx.activity:activity-compose'
|
||||
implementation 'androidx.compose.ui:ui-tooling-preview'
|
||||
implementation 'androidx.compose.ui:ui-text:1.7.0-beta05' // Needed for parsing HTML to AnnotatedString
|
||||
implementation 'com.github.nanihadesuka:LazyColumnScrollbar:2.2.0'
|
||||
|
||||
// Library loading for About screen
|
||||
|
@ -1,6 +1,7 @@
|
||||
package org.schabi.newpipe.ui.screens
|
||||
|
||||
import android.content.res.Configuration
|
||||
import androidx.compose.foundation.ExperimentalFoundationApi
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.PaddingValues
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
@ -31,6 +32,7 @@ import org.schabi.newpipe.ui.theme.AppTheme
|
||||
|
||||
private val TITLES = intArrayOf(R.string.tab_about, R.string.tab_licenses)
|
||||
|
||||
@OptIn(ExperimentalFoundationApi::class)
|
||||
@Composable
|
||||
@NonRestartableComposable
|
||||
fun AboutScreen(padding: PaddingValues) {
|
||||
|
Loading…
Reference in New Issue
Block a user