File tree Expand file tree Collapse file tree
java/com/nextcloud/talk/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,7 +182,6 @@ class SettingsActivity :
182182
183183 setupClientCertView()
184184 showSetupClientCertView(isOnline.value)
185-
186185 }
187186
188187 private fun handleNetworkChange (isOnline : Boolean ) {
@@ -578,11 +577,13 @@ class SettingsActivity :
578577 }
579578 }
580579
581- private fun showSetupClientCertView (isOnline : Boolean ){
582- if (isOnline){
580+ private fun showSetupClientCertView (isOnline : Boolean ) {
581+ if (isOnline) {
583582 binding.settingsClientCert.visibility = View .VISIBLE
584- }else {
583+ binding.settingsProxyGroup.visibility = View .VISIBLE
584+ } else {
585585 binding.settingsClientCert.visibility = View .GONE
586+ binding.settingsProxyGroup.visibility = View .GONE
586587 }
587588 }
588589
Original file line number Diff line number Diff line change 682682
683683 </LinearLayout >
684684
685+ <LinearLayout
686+ android : id =" @+id/settings_proxy_group"
687+ android : layout_width =" match_parent"
688+ android : layout_height =" wrap_content"
689+ android : orientation =" vertical" >
690+
685691 <com .google.android.material.textfield.TextInputLayout
686692 style =" @style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
687693 android : layout_width =" match_parent"
797803 android : clickable =" false" />
798804 </LinearLayout >
799805 </LinearLayout >
806+ </LinearLayout >
800807
801808 <LinearLayout
802809 android : id =" @+id/settings_about_category"
You can’t perform that action at this time.
0 commit comments