diff options
author | Torsten Grote <t@grobox.de> | 2022-10-26 10:17:26 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2022-10-26 10:17:26 -0300 |
commit | 2398d0fb201b53b2e41bf9d549b293b6b93e2c45 (patch) | |
tree | a41e25e6d09bd284f07752ef4810ba47585e4b75 /wallet | |
parent | d08a424f0421e0f8ef0bcdf8a59f3727356a218a (diff) | |
download | taler-android-2398d0fb201b53b2e41bf9d549b293b6b93e2c45.tar.gz taler-android-2398d0fb201b53b2e41bf9d549b293b6b93e2c45.tar.bz2 taler-android-2398d0fb201b53b2e41bf9d549b293b6b93e2c45.zip |
[wallet] Remove old anastasis prototype
Diffstat (limited to 'wallet')
-rw-r--r-- | wallet/build.gradle | 1 | ||||
-rw-r--r-- | wallet/src/main/java/net/taler/wallet/settings/BackupSettingsFragment.kt | 14 | ||||
-rw-r--r-- | wallet/src/main/res/xml/settings_backup.xml | 7 |
3 files changed, 0 insertions, 22 deletions
diff --git a/wallet/build.gradle b/wallet/build.gradle index fe82298..56ae636 100644 --- a/wallet/build.gradle +++ b/wallet/build.gradle @@ -116,7 +116,6 @@ android { dependencies { implementation project(":taler-kotlin-android") - implementation project(":anastasis-ui") implementation 'net.taler:akono:0.2' implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" 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> |