mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-06 11:28:22 +00:00
- update dependencies
- fix deprecation on windowSizeClass
This commit is contained in:
@@ -37,7 +37,7 @@ import androidx.compose.ui.text.style.TextAlign
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.compose.ui.unit.sp
|
||||
import androidx.lifecycle.compose.collectAsStateWithLifecycle
|
||||
import androidx.window.core.layout.WindowWidthSizeClass
|
||||
import androidx.window.core.layout.WindowSizeClass.Companion.WIDTH_DP_MEDIUM_LOWER_BOUND
|
||||
import coil3.compose.AsyncImage
|
||||
import com.greenart7c3.nostrsigner.BuildConfig
|
||||
import com.greenart7c3.nostrsigner.R
|
||||
@@ -51,7 +51,7 @@ import com.greenart7c3.nostrsigner.ui.theme.fromHex
|
||||
@Composable
|
||||
fun ProfilePicture(account: Account) {
|
||||
val windowSizeClass = currentWindowAdaptiveInfo().windowSizeClass
|
||||
if (windowSizeClass.windowWidthSizeClass != WindowWidthSizeClass.COMPACT) {
|
||||
if (windowSizeClass.isWidthAtLeastBreakpoint(WIDTH_DP_MEDIUM_LOWER_BOUND)) {
|
||||
Column(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
horizontalAlignment = Alignment.CenterHorizontally,
|
||||
|
||||
+10
-10
@@ -2,32 +2,32 @@
|
||||
activityCompose = "1.11.0"
|
||||
appcompat = "1.7.1"
|
||||
biometricKtx = "1.2.0-alpha05"
|
||||
core = "3.5.3"
|
||||
core = "3.5.4"
|
||||
coreKtx = "1.17.0"
|
||||
coreSplashscreen = "1.0.1"
|
||||
coreSplashscreen = "1.2.0"
|
||||
datastorePreferences = "1.1.7"
|
||||
espressoCore = "3.7.0"
|
||||
junit = "4.13.2"
|
||||
junitVersion = "1.3.0"
|
||||
lifecycle_version = "2.9.4"
|
||||
material3 = "1.4.0"
|
||||
nav_version = "2.9.5"
|
||||
nav_version = "2.9.6"
|
||||
quartz = "1.04.2"
|
||||
compose_ui = "1.9.3"
|
||||
compose_ui = "1.9.4"
|
||||
richtextUi = "e1151c8"
|
||||
roomKtx = "2.8.2"
|
||||
roomKtx = "2.8.3"
|
||||
securityCryptoKtx = "1.1.0"
|
||||
zxingAndroidEmbedded = "4.3.0"
|
||||
okhttp = "5.2.1"
|
||||
kotlin = "2.2.20"
|
||||
workRuntimeKtx = "2.10.5"
|
||||
okhttp = "5.3.1"
|
||||
kotlin = "2.2.21"
|
||||
workRuntimeKtx = "2.11.0"
|
||||
agp = "8.11.1" # updating this breaks fdroid, wait for them to buy new servers before updating
|
||||
ktlint = "12.3.0"
|
||||
ksp = "2.2.20-2.0.3"
|
||||
ksp = "2.3.2"
|
||||
coil = "3.3.0"
|
||||
storage = "2.2.0"
|
||||
jna = "5.18.1"
|
||||
adaptiveAndroid = "1.1.0"
|
||||
adaptiveAndroid = "1.2.0"
|
||||
materialIconsExtended = "1.7.8"
|
||||
collections = "0.4.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user