File tree Expand file tree Collapse file tree
app/src/main/kotlin/com/looker/droidify/ui/settings
build-logic/structure/src/main/kotlin
metadata/en-US/changelogs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -312,9 +312,7 @@ class SettingsFragment : Fragment() {
312312 }
313313 launch {
314314 viewModel.backgroundTask.collect {
315- if (it) {
316- binding.allowBackgroundWork.root.visibility = View .GONE
317- }
315+ binding.allowBackgroundWork.root.isVisible = ! it
318316 }
319317 }
320318 }
@@ -386,6 +384,7 @@ class SettingsFragment : Fragment() {
386384
387385 private fun updateSettings (settings : Settings ) {
388386 with (binding) {
387+ allowBackgroundWork.root.isVisible = settings.autoSync != AutoSync .NEVER
389388 val allowProxies = settings.proxy.type != ProxyType .DIRECT
390389 proxyHost.root.isVisible = allowProxies
391390 proxyPort.root.isVisible = allowProxies
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ object DefaultConfig {
44 const val appId = " com.looker.droidify"
55 const val compileSdk = 34
66 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 "
99}
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