Clear endpoint or region when toggling between Amazon and custom S3

This commit is contained in:
Julian Raufelder 2021-04-29 12:05:01 +02:00 committed by Manuel Jenny
parent bde8f36a58
commit f4a6715bd2
No known key found for this signature in database
GPG Key ID: 1C80FE62B2BEAA18

View File

@ -42,6 +42,7 @@ class S3AddOrChangeFragment : BaseFragment() {
showEditableCloudContent(s3CloudModel)
toggleCustomS3.setOnClickListener { switch ->
regionOrEndpointEditText.text?.clear()
toggleUseAmazonS3((switch as SwitchMaterial).isChecked)
}
}