File tree 3 files changed +10
-5
lines changed
app/src/main/kotlin/com/looker/droidify/ui/settings
build-logic/structure/src/main/kotlin
metadata/en-US/changelogs
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -312,9 +312,7 @@ class SettingsFragment : Fragment() {
312
312
}
313
313
launch {
314
314
viewModel.backgroundTask.collect {
315
- if (it) {
316
- binding.allowBackgroundWork.root.visibility = View .GONE
317
- }
315
+ binding.allowBackgroundWork.root.isVisible = ! it
318
316
}
319
317
}
320
318
}
@@ -386,6 +384,7 @@ class SettingsFragment : Fragment() {
386
384
387
385
private fun updateSettings (settings : Settings ) {
388
386
with (binding) {
387
+ allowBackgroundWork.root.isVisible = settings.autoSync != AutoSync .NEVER
389
388
val allowProxies = settings.proxy.type != ProxyType .DIRECT
390
389
proxyHost.root.isVisible = allowProxies
391
390
proxyPort.root.isVisible = allowProxies
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ object DefaultConfig {
4
4
const val appId = " com.looker.droidify"
5
5
const val compileSdk = 34
6
6
const val minSdk = 23
7
- const val versionCode = 620
8
- const val versionName = " 0.6.2 "
7
+ const val versionCode = 630
8
+ const val versionName = " 0.6.3 "
9
9
}
Original file line number Diff line number Diff line change
1
+ Fixed:
2
+ - Repeated asking for background permission
3
+
4
+ Changed:
5
+ - Move permission to settings page
6
+ - Don't ask for permission if auto sync is off
You can’t perform that action at this time.
0 commit comments