aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/com/zeapo
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2017-07-29 21:45:06 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2017-08-10 11:10:29 +0200
commiteed0b5996446f198e80c9ae93936baf0c69315de (patch)
tree4d377c61896d2c4e7016cb1e31ab210379ac9a9c /app/src/main/java/com/zeapo
parent200fe9ebe0c4017a3e33293e1be981ec0c7a4dd4 (diff)
Call the new pgp activity
Diffstat (limited to 'app/src/main/java/com/zeapo')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/UserPreference.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt
index b9bf6ac9..099f004c 100644
--- a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt
@@ -27,7 +27,7 @@ import android.widget.TextView
import android.widget.Toast
import com.nononsenseapps.filepicker.FilePickerActivity
import com.zeapo.pwdstore.autofill.AutofillPreferenceActivity
-import com.zeapo.pwdstore.crypto.PgpHandler
+import com.zeapo.pwdstore.crypto.PgpActivity
import com.zeapo.pwdstore.git.GitActivity
import com.zeapo.pwdstore.utils.PasswordRepository
import org.apache.commons.io.FileUtils
@@ -52,8 +52,8 @@ class UserPreference : AppCompatActivity() {
findPreference("app_version").summary = "Version: ${BuildConfig.VERSION_NAME}"
findPreference("openpgp_key_id_pref").onPreferenceClickListener = Preference.OnPreferenceClickListener {
- val intent = Intent(callingActivity, PgpHandler::class.java)
- intent.putExtra("Operation", "GET_KEY_ID")
+ val intent = Intent(callingActivity, PgpActivity::class.java)
+ intent.putExtra("OPERATION", "GET_KEY_ID")
startActivityForResult(intent, IMPORT_PGP_KEY)
true
}