diff options
Diffstat (limited to 'wallet/src/main/java')
-rw-r--r-- | wallet/src/main/java/net/taler/wallet/settings/BackupSettingsFragment.kt | 14 |
1 files changed, 0 insertions, 14 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 - } - } - } |