diff --git a/app/src/main/java/com/stevesoltys/seedvault/ui/storage/StorageOptionsFragment.kt b/app/src/main/java/com/stevesoltys/seedvault/ui/storage/StorageOptionsFragment.kt index 6b933224..87ef2e15 100644 --- a/app/src/main/java/com/stevesoltys/seedvault/ui/storage/StorageOptionsFragment.kt +++ b/app/src/main/java/com/stevesoltys/seedvault/ui/storage/StorageOptionsFragment.kt @@ -20,7 +20,6 @@ import android.view.View import android.view.View.INVISIBLE import android.view.View.VISIBLE import android.view.ViewGroup -import android.widget.ImageView import android.widget.ProgressBar import android.widget.TextView import androidx.activity.result.contract.ActivityResultContracts.OpenDocumentTree @@ -47,8 +46,6 @@ internal class StorageOptionsFragment : Fragment(), StorageOptionClickedListener private lateinit var viewModel: StorageViewModel private lateinit var titleView: TextView - private lateinit var warningIcon: ImageView - private lateinit var warningText: TextView private lateinit var listView: RecyclerView private lateinit var progressBar: ProgressBar private lateinit var skipView: TextView @@ -63,8 +60,6 @@ internal class StorageOptionsFragment : Fragment(), StorageOptionClickedListener val v: View = inflater.inflate(R.layout.fragment_storage_options, container, false) titleView = v.requireViewById(R.id.titleView) - warningIcon = v.requireViewById(R.id.warningIcon) - warningText = v.requireViewById(R.id.warningText) listView = v.requireViewById(R.id.listView) progressBar = v.requireViewById(R.id.progressBar) skipView = v.requireViewById(R.id.skipView) @@ -90,12 +85,6 @@ internal class StorageOptionsFragment : Fragment(), StorageOptionClickedListener requireActivity().setResult(RESULT_FIRST_USER) requireActivity().finishAfterTransition() } - } else { - warningIcon.visibility = VISIBLE - if (viewModel.hasStorageSet) { - warningText.setText(R.string.storage_fragment_warning_delete) - } - warningText.visibility = VISIBLE } listView.adapter = adapter diff --git a/app/src/main/res/layout/fragment_storage_options.xml b/app/src/main/res/layout/fragment_storage_options.xml index 66dc28e9..8eb2c695 100644 --- a/app/src/main/res/layout/fragment_storage_options.xml +++ b/app/src/main/res/layout/fragment_storage_options.xml @@ -29,34 +29,6 @@ app:layout_constraintTop_toBottomOf="@+id/imageView" tools:text="Choose where to store backup (is a short title, but it can be longer)" /> - - - - diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 44df4714..c4225b6e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -78,8 +78,6 @@ Choose where to store backups Where to find your backups? - People with access to your storage location can learn which apps you use, but do not get access to the apps\' data. - Existing backups in this location will be deleted. User-chosen location USB flash drive Needs to be plugged in