aboutsummaryrefslogtreecommitdiff
path: root/wallet/src
diff options
context:
space:
mode:
Diffstat (limited to 'wallet/src')
-rw-r--r--wallet/src/main/java/net/taler/wallet/settings/BackupSettingsFragment.kt14
-rw-r--r--wallet/src/main/res/xml/settings_backup.xml7
2 files changed, 0 insertions, 21 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/settings/BackupSettingsFragment.kt b/wallet/src/main/java/net/taler/wallet/settings/BackupSettingsFragment.kt
index 0dc7124..e9641a3 100644
--- a/wallet/src/main/java/net/taler/wallet/settings/BackupSettingsFragment.kt
+++ b/wallet/src/main/java/net/taler/wallet/settings/BackupSettingsFragment.kt
@@ -16,13 +16,9 @@
package net.taler.wallet.settings
-import android.content.Intent
import android.os.Bundle
-import android.view.View
-import androidx.preference.Preference
import androidx.preference.PreferenceFragmentCompat
import net.taler.wallet.R
-import org.gnu.anastasis.ui.MainActivity
class BackupSettingsFragment : PreferenceFragmentCompat() {
@@ -30,14 +26,4 @@ class BackupSettingsFragment : PreferenceFragmentCompat() {
setPreferencesFromResource(R.xml.settings_backup, rootKey)
}
- override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
- super.onViewCreated(view, savedInstanceState)
- val recoveryPref: Preference = findPreference("pref_backup_recovery")!!
- recoveryPref.setOnPreferenceClickListener {
- val intent = Intent(requireContext(), MainActivity::class.java)
- startActivity(intent)
- true
- }
- }
-
}
diff --git a/wallet/src/main/res/xml/settings_backup.xml b/wallet/src/main/res/xml/settings_backup.xml
index f8c5839..aa9b129 100644
--- a/wallet/src/main/res/xml/settings_backup.xml
+++ b/wallet/src/main/res/xml/settings_backup.xml
@@ -46,13 +46,6 @@
app:selectable="false"
app:title="Show backup secret" />
- <Preference
- app:dependency="pref_backup_switch"
- app:icon="@drawable/ic_baseline_cloud_circle"
- app:key="pref_backup_recovery"
- app:summary="Not used"
- app:title="Secure cloud recovery"/>
-
</PreferenceCategory>
</PreferenceScreen>