Update dependency androidx.compose:compose-bom-alpha to v2026.04.00 (#2943)
* Update dependency androidx.compose:compose-bom-alpha to v2026.04.00 * Fix deprecation * Update compileSdk version to 37 * Suppress deprecation warning for DnsResolver usage --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <99822064+revonateB0T@users.noreply.github.com>
This commit is contained in:
1 parent
efde6e9f3d
commit
2b3755a09c
4 files changed
+5
-8
No files matched your search
@@ -66,7 +66,7 @@ import androidx.compose.material3.SnackbarHost
|
||||
import androidx.compose.material3.SnackbarHostState
|
||||
import androidx.compose.material3.SnackbarResult
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.material3.adaptive.currentWindowAdaptiveInfo
|
||||
import androidx.compose.material3.adaptive.currentWindowAdaptiveInfoV2
|
||||
import androidx.compose.material3.rememberDrawerState
|
||||
import androidx.compose.material3.rememberDrawerState2
|
||||
import androidx.compose.runtime.Composable
|
||||
@@ -380,7 +380,7 @@ class MainActivity : AppCompatActivity() {
|
||||
var snackbarFabPadding by remember { mutableStateOf(0.dp) }
|
||||
val drawerEnabled = drawerHandle.isNotEmpty()
|
||||
val density = LocalDensity.current
|
||||
val adaptiveInfo = currentWindowAdaptiveInfo()
|
||||
val adaptiveInfo = currentWindowAdaptiveInfoV2()
|
||||
val needSignIn by Settings.needSignIn.collectAsState()
|
||||
val launchPage by Settings.launchPage.collectAsState()
|
||||
CompositionLocalProvider(
|
||||
|
||||
@@ -40,6 +40,7 @@ class AndroidAsyncDns(
|
||||
private val network: Network? = null,
|
||||
) : AsyncDns {
|
||||
@RequiresApi(Build.VERSION_CODES.Q)
|
||||
@Suppress("DEPRECATION")
|
||||
internal val resolver = DnsResolver.getInstance()
|
||||
private val executor = Executors.newSingleThreadExecutor()
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ androidx-webkit = "1.15.0"
|
||||
androidx-work = "2.11.2"
|
||||
arrow = "2.2.2.1"
|
||||
coil = "3.4.0"
|
||||
compose-bom = "2026.03.01"
|
||||
compose-bom = "2026.04.00"
|
||||
compose-multiplatform = "1.10.3"
|
||||
compose-destinations = "2.3.0"
|
||||
compose-preference = "2.2.0"
|
||||
|
||||
+1
-5
@@ -32,11 +32,7 @@ plugins {
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdk {
|
||||
version = release(36) {
|
||||
minorApiLevel = 1
|
||||
}
|
||||
}
|
||||
compileSdk = 37
|
||||
minSdk = 23
|
||||
targetSdk = 36
|
||||
ndkVersion = "29.0.14206865"
|
||||
|
||||
Reference in new issue
Block a user