Skip to content

Commit 83bad5c

Browse files
committed
Update dependencies | 1.4.03
1 parent bfcd275 commit 83bad5c

File tree

8 files changed

+21
-19
lines changed

8 files changed

+21
-19
lines changed

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ android {
8989
"${versionName}.apk"
9090
}
9191
}
92-
9392
}
9493

9594
// https://github.com/Triple-T/gradle-play-publisher

app/src/main/kotlin/com/w2sv/wifiwidget/ui/components/Snackbar.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import androidx.compose.material3.SnackbarVisuals
1616
import androidx.compose.material3.Text
1717
import androidx.compose.material3.TextButton
1818
import androidx.compose.runtime.Composable
19+
import androidx.compose.runtime.Immutable
1920
import androidx.compose.runtime.staticCompositionLocalOf
2021
import androidx.compose.ui.Alignment
2122
import androidx.compose.ui.Modifier
@@ -25,8 +26,10 @@ import androidx.compose.ui.text.AnnotatedString
2526
import androidx.compose.ui.unit.dp
2627
import com.w2sv.wifiwidget.ui.theme.AppColor
2728

29+
@Immutable
2830
data class SnackbarAction(val label: String, val callback: () -> Unit)
2931

32+
@Immutable
3033
data class AppSnackbarVisuals(
3134
val msg: CharSequence,
3235
override val duration: SnackbarDuration = SnackbarDuration.Short,
@@ -42,18 +45,21 @@ data class AppSnackbarVisuals(
4245
get() = action?.label
4346
}
4447

48+
@Immutable
4549
sealed interface SnackbarKind {
4650
val icon: ImageVector
4751

4852
@get:Composable
4953
val iconTint: Color
5054

55+
@Immutable
5156
data object Error : SnackbarKind {
5257
override val icon: ImageVector = Icons.Outlined.Warning
5358
override val iconTint: Color
5459
@Composable get() = MaterialTheme.colorScheme.error
5560
}
5661

62+
@Immutable
5763
data object Success : SnackbarKind {
5864
override val icon: ImageVector = Icons.Outlined.Check
5965
override val iconTint: Color

app/src/main/kotlin/com/w2sv/wifiwidget/ui/components/drawer/NavigationDrawerSheetContent.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ private object AppUrl {
5454
internal fun NavigationDrawerSheetContent(
5555
closeDrawer: () -> Unit,
5656
modifier: Modifier = Modifier,
57-
context: Context = LocalContext.current,
5857
appVM: AppViewModel = viewModel()
5958
) {
6059
Column(modifier = modifier) {
60+
val context: Context = LocalContext.current
61+
6162
remember {
6263
buildList {
6364
add(Element.Header(R.string.appearance))

app/src/main/kotlin/com/w2sv/wifiwidget/ui/screens/home/components/widget/configurationdialog/components/PropertyCheckRow.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import androidx.compose.foundation.layout.fillMaxWidth
88
import androidx.compose.foundation.layout.padding
99
import androidx.compose.foundation.layout.size
1010
import androidx.compose.material.icons.Icons
11-
import androidx.compose.material.icons.filled.KeyboardArrowRight
11+
import androidx.compose.material.icons.automirrored.filled.KeyboardArrowRight
1212
import androidx.compose.material3.Checkbox
1313
import androidx.compose.material3.Icon
1414
import androidx.compose.material3.IconButton
@@ -60,7 +60,7 @@ fun PropertyCheckRows(
6060
showInfoDialog = showInfoDialog,
6161
leadingIcon = {
6262
Icon(
63-
imageVector = Icons.Default.KeyboardArrowRight,
63+
imageVector = Icons.AutoMirrored.Default.KeyboardArrowRight,
6464
contentDescription = null,
6565
)
6666
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
- Facilitated location access permission management
2-
- Enabled automatic disablement of location requiring properties upon revoking location access permission
3-
- Aligned properties being displayed in-app with the selected widget properties
4-
- Fixed in-app property display bug that would randomly make certain properties disappear
5-
- UI & performance improvements
1+
- Performance improvements

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ android.useAndroidX=true
77
android.nonTransitiveRClass=true
88
android.uniquePackageNames=true
99
android.nonFinalResIds=false
10-
version=1.4.02
11-
versionCode=46
10+
version=1.4.03
11+
versionCode=47

gradle/libs.versions.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ minSdk = '26' # min for activity.isRequestPinAppWidgetSupported
33
compileSdk = '34'
44

55
# Plugins
6-
agp = "8.2.0"
7-
kotlin = '1.9.21'
6+
agp = "8.2.2"
7+
kotlin = '1.9.22'
88
java = '17'
9-
ksp = "1.9.21-1.0.16"
9+
ksp = "1.9.22-1.0.17"
1010
triplet-play = '3.8.6'
1111
hilt = '2.50'
1212

1313
# Libraries
14-
compose-compiler = '1.5.7'
15-
compose-tooling = '1.5.4'
16-
lifecycle = "2.6.2"
14+
compose-compiler = '1.5.8'
15+
compose-tooling = '1.6.0'
16+
lifecycle = "2.7.0"
1717
okhttp = "4.12.0"
1818
compose-lint-checks = "1.2.0"
1919
kotlinxCollectionsImmutable = "0.3.7"
@@ -34,7 +34,7 @@ androidx-workmanager = 'androidx.work:work-runtime-ktx:2.9.0'
3434
androidx-datastore-preferences = 'androidx.datastore:datastore-preferences:1.0.0'
3535

3636
# .Compose
37-
androidx-compose-bom = "androidx.compose:compose-bom:2023.10.01"
37+
androidx-compose-bom = "androidx.compose:compose-bom:2024.01.00"
3838
androidx-compose-material3 = 'androidx.compose.material3:material3:1.1.2'
3939
androidx-compose-ui = { module = 'androidx.compose.ui:ui', version.ref = 'compose-tooling' }
4040
androidx-compose-ui-tooling-preview = { module = 'androidx.compose.ui:ui-tooling-preview', version.ref = 'compose-tooling' }

0 commit comments

Comments
 (0)