mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-30 19:41:50 +01:00
Bump dependencies
This commit is contained in:
parent
fa61c8fe6f
commit
9432d2d06a
@ -137,7 +137,7 @@ fun AppBar(
|
||||
},
|
||||
title = titleContent,
|
||||
actions = actions,
|
||||
colors = TopAppBarDefaults.smallTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = MaterialTheme.colorScheme.surfaceColorAtElevation(
|
||||
elevation = if (isActionMode) 3.dp else 0.dp,
|
||||
),
|
||||
|
@ -142,7 +142,7 @@ fun MangaToolbar(
|
||||
}
|
||||
}
|
||||
},
|
||||
colors = TopAppBarDefaults.smallTopAppBarColors(
|
||||
colors = TopAppBarDefaults.topAppBarColors(
|
||||
containerColor = MaterialTheme.colorScheme
|
||||
.surfaceColorAtElevation(3.dp)
|
||||
.copy(alpha = if (isActionMode) 1f else backgroundAlphaProvider()),
|
||||
|
@ -49,7 +49,7 @@ fun WebViewScreenContent(
|
||||
Box {
|
||||
AppBar(
|
||||
title = state.pageTitle ?: initialTitle,
|
||||
subtitle = state.content.getCurrentUrl(),
|
||||
subtitle = state.lastLoadedUrl,
|
||||
navigateUp = onNavigateUp,
|
||||
navigationIcon = Icons.Outlined.Close,
|
||||
actions = {
|
||||
@ -81,15 +81,15 @@ fun WebViewScreenContent(
|
||||
),
|
||||
AppBar.OverflowAction(
|
||||
title = stringResource(R.string.action_share),
|
||||
onClick = { onShare(state.content.getCurrentUrl()!!) },
|
||||
onClick = { onShare(state.lastLoadedUrl!!) },
|
||||
),
|
||||
AppBar.OverflowAction(
|
||||
title = stringResource(R.string.action_open_in_browser),
|
||||
onClick = { onOpenInBrowser(state.content.getCurrentUrl()!!) },
|
||||
onClick = { onOpenInBrowser(state.lastLoadedUrl!!) },
|
||||
),
|
||||
AppBar.OverflowAction(
|
||||
title = stringResource(R.string.pref_clear_cookies),
|
||||
onClick = { onClearCookies(state.content.getCurrentUrl()!!) },
|
||||
onClick = { onClearCookies(state.lastLoadedUrl!!) },
|
||||
),
|
||||
),
|
||||
)
|
||||
|
@ -1,16 +1,16 @@
|
||||
[versions]
|
||||
agp_version = "7.4.1"
|
||||
lifecycle_version = "2.6.0-beta01"
|
||||
lifecycle_version = "2.6.0-rc01"
|
||||
|
||||
[libraries]
|
||||
gradle = { module = "com.android.tools.build:gradle", version.ref = "agp_version" }
|
||||
|
||||
annotation = "androidx.annotation:annotation:1.5.0"
|
||||
annotation = "androidx.annotation:annotation:1.6.0"
|
||||
appcompat = "androidx.appcompat:appcompat:1.6.1"
|
||||
biometricktx = "androidx.biometric:biometric-ktx:1.2.0-alpha05"
|
||||
constraintlayout = "androidx.constraintlayout:constraintlayout:2.1.4"
|
||||
coordinatorlayout = "androidx.coordinatorlayout:coordinatorlayout:1.2.0"
|
||||
corektx = "androidx.core:core-ktx:1.10.0-alpha02"
|
||||
corektx = "androidx.core:core-ktx:1.10.0-beta01"
|
||||
splashscreen = "androidx.core:core-splashscreen:1.0.0-alpha02"
|
||||
recyclerview = "androidx.recyclerview:recyclerview:1.3.0-rc01"
|
||||
viewpager = "androidx.viewpager:viewpager:1.1.0-alpha01"
|
||||
|
@ -1,5 +1,5 @@
|
||||
[versions]
|
||||
compiler = "1.4.2"
|
||||
compiler = "1.4.3"
|
||||
compose-bom = "2023.02.00-beta01"
|
||||
accompanist = "0.29.1-alpha"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user