Skip to content

Commit 3cced1e

Browse files
committed
1.6.4
1 parent 9f97886 commit 3cced1e

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,16 @@
112112

113113
<h2 align="center">Tech Stack</h2>
114114

115-
- Kotlin
116-
- Jetpack Compose
115+
- Kotlin only
116+
- Jetpack Compose for in-app UI, xml for widget UI
117117
- Coroutines & flows
118118
- [Dagger-Hilt](https://dagger.dev/hilt/) for dependency injection
119119
- [OkHttp](https://square.github.io/okhttp/) for network requests, [kotlinx serialization](https://github.com/Kotlin/kotlinx.serialization) for JSON parsing
120120
- [compose-destinations](https://github.com/raamcosta/compose-destinations) for navigation
121121
- Proto & Preferences data store
122-
- JUnit 4 & [mockito](https://github.com/mockito/mockito) for unit testing
122+
- JUnit 4, [mockito](https://github.com/mockito/mockito), [robolectric](https://robolectric.org/) & [turbine](https://github.com/cashapp/turbine) for unit testing
123+
- JUnit 4 Compose android (instrumented) testing
124+
- Androidx Macro benchmarking & baseline profile generation with app-specific usage journey, implemented with [UI Automator](https://developer.android.com/training/testing/other-components/ui-automator)
123125

124126
<h2 align="center">Architecture</h2>
125127

app/src/main/kotlin/com/w2sv/wifiwidget/ui/states/LocationAccessState.kt

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,17 @@ class LocationAccessState(
147147
}
148148

149149
when {
150-
isLaunchingSuppressed(requestLaunchedBefore.value) && !skipSnackbarIfInAppPromptingSuppressed -> snackbarEmitter.dismissCurrentAndShow {
151-
AppSnackbarVisuals(
152-
msg = getString(R.string.you_need_to_go_to_the_app_settings_and_grant_location_access_permission),
153-
kind = SnackbarKind.Warning,
154-
action = SnackbarAction(
155-
label = getString(R.string.go_to_app_settings),
156-
callback = openAppSettings
150+
isLaunchingSuppressed(requestLaunchedBefore.value) && !skipSnackbarIfInAppPromptingSuppressed ->
151+
snackbarEmitter.dismissCurrentAndShow {
152+
AppSnackbarVisuals(
153+
msg = getString(R.string.you_need_to_go_to_the_app_settings_and_grant_location_access_permission),
154+
kind = SnackbarKind.Warning,
155+
action = SnackbarAction(
156+
label = getString(R.string.go_to_app_settings),
157+
callback = openAppSettings
158+
)
157159
)
158-
)
159-
}
160+
}
160161

161162
isLaunchingSuppressed(requestLaunchedBefore.value) -> setOnGrantActionAnd(openAppSettings)
162163
else -> setOnGrantActionAnd { launchMultiplePermissionRequest() }
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
- Enable configuration of property alignment on widget and set default back to right-aligned upon popular demand
2-
- Enable resizing the widget to a width of 2 cells
1+
- Show 'location access missing' snackbar upon in-app widget pinning with access requiring properties active, but no access
2+
- Fix background location access grant initially not being recognized
3+
- Fix widget property copy-to-clipboard functionality on click
4+
- Improve in-app and widget refreshing performance

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ android.nonTransitiveRClass=true
1414
android.uniquePackageNames=true
1515
android.nonFinalResIds=false
1616
# ======= Version =======
17-
version=1.6.3
18-
versionCode=65
17+
version=1.6.4
18+
versionCode=66

0 commit comments

Comments
 (0)