Skip to content

Commit

Permalink
Release v0.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Iamlooker committed Apr 5, 2024
1 parent 3bd0a90 commit 550e09f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Expand Up @@ -312,9 +312,7 @@ class SettingsFragment : Fragment() {
}
launch {
viewModel.backgroundTask.collect {
if (it) {
binding.allowBackgroundWork.root.visibility = View.GONE
}
binding.allowBackgroundWork.root.isVisible = !it
}
}
}
Expand Down Expand Up @@ -386,6 +384,7 @@ class SettingsFragment : Fragment() {

private fun updateSettings(settings: Settings) {
with(binding) {
allowBackgroundWork.root.isVisible = settings.autoSync != AutoSync.NEVER
val allowProxies = settings.proxy.type != ProxyType.DIRECT
proxyHost.root.isVisible = allowProxies
proxyPort.root.isVisible = allowProxies
Expand Down
4 changes: 2 additions & 2 deletions build-logic/structure/src/main/kotlin/DefaultConfig.kt
Expand Up @@ -4,6 +4,6 @@ object DefaultConfig {
const val appId = "com.looker.droidify"
const val compileSdk = 34
const val minSdk = 23
const val versionCode = 620
const val versionName = "0.6.2"
const val versionCode = 630
const val versionName = "0.6.3"
}
6 changes: 6 additions & 0 deletions metadata/en-US/changelogs/630.txt
@@ -0,0 +1,6 @@
Fixed:
- Repeated asking for background permission

Changed:
- Move permission to settings page
- Don't ask for permission if auto sync is off

0 comments on commit 550e09f

Please sign in to comment.