Clear endpoint or region when toggling between Amazon and custom S3
This commit is contained in:
parent
bde8f36a58
commit
f4a6715bd2
@ -42,6 +42,7 @@ class S3AddOrChangeFragment : BaseFragment() {
|
||||
showEditableCloudContent(s3CloudModel)
|
||||
|
||||
toggleCustomS3.setOnClickListener { switch ->
|
||||
regionOrEndpointEditText.text?.clear()
|
||||
toggleUseAmazonS3((switch as SwitchMaterial).isChecked)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user