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