Fix import profile

This commit is contained in:
世界
2024-01-14 20:58:25 +08:00
parent cac0714587
commit 33f37128e4
2 changed files with 5 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ class MainActivity : AbstractActivity(), ServiceConnection.Callback {
reconnect()
startIntegration()
onNewIntent(intent)
}
override fun onNewIntent(intent: Intent) {

View File

@@ -57,6 +57,9 @@ class NewProfileActivity : AbstractActivity() {
binding.name.editText?.setText(importName)
binding.type.text = TypedProfile.Type.Remote.name
binding.remoteURL.editText?.setText(importURL)
binding.localFields.isVisible = false
binding.remoteFields.isVisible = true
binding.autoUpdateInterval.text = "60"
}
}