Release v0.6.3

This commit is contained in:
LooKeR 2024-04-05 14:28:17 +05:30
parent 1dce945416
commit 086dfd2f07
3 changed files with 10 additions and 5 deletions

View File

@ -312,9 +312,7 @@ class SettingsFragment : Fragment() {
}
launch {
viewModel.backgroundTask.collect {
if (it) {
binding.allowBackgroundWork.root.visibility = View.GONE
}
binding.allowBackgroundWork.root.isVisible = !it
}
}
}
@ -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

View File

@ -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"
}

View File

@ -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