diff --git a/app/src/main/java/ani/dantotsu/settings/ProxyDialogFragment.kt b/app/src/main/java/ani/dantotsu/settings/ProxyDialogFragment.kt index a0c275bef23..d3e94c67d1c 100644 --- a/app/src/main/java/ani/dantotsu/settings/ProxyDialogFragment.kt +++ b/app/src/main/java/ani/dantotsu/settings/ProxyDialogFragment.kt @@ -39,6 +39,10 @@ class ProxyDialogFragment : BottomSheetDialogFragment() { binding.proxyUsername.setText(proxyUsername) binding.proxyPassword.setText(proxyPassword) binding.proxyAuthentication.isChecked = authEnabled + binding.proxyUsername.isEnabled = authEnabled + binding.proxyPassword.isEnabled = authEnabled + binding.proxyUsernameLayout.isEnabled = authEnabled + binding.proxyPasswordLayout.isEnabled = authEnabled binding.proxySave.setOnClickListener { proxyHost = binding.proxyHost.text.toString() ?: "" @@ -68,4 +72,4 @@ class ProxyDialogFragment : BottomSheetDialogFragment() { _binding = null super.onDestroyView() } -} \ No newline at end of file +}