From 5e74507d5b3f3de8a4f0881fa14f87058e9a63fc Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 30 Jun 2020 19:21:49 +0530 Subject: Allow importing TOTP configuration through QR codes (#903) Co-authored-by: Fabian Henneke --- app/src/main/res/drawable/ic_qr_code_scanner.xml | 9 +++++++++ app/src/main/res/layout/password_creation_activity.xml | 13 ++++++++++++- app/src/main/res/values/strings.xml | 3 +++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/ic_qr_code_scanner.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/ic_qr_code_scanner.xml b/app/src/main/res/drawable/ic_qr_code_scanner.xml new file mode 100644 index 00000000..45a618ac --- /dev/null +++ b/app/src/main/res/drawable/ic_qr_code_scanner.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/password_creation_activity.xml b/app/src/main/res/layout/password_creation_activity.xml index 13af597c..e0b25786 100644 --- a/app/src/main/res/layout/password_creation_activity.xml +++ b/app/src/main/res/layout/password_creation_activity.xml @@ -84,6 +84,17 @@ + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2f04b388..3023d995 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -383,4 +383,7 @@ Failed to write password file to the store, please try again. Failed to delete password file %1$s from the store, please delete it manually. File already exists, please use a different name + Add OTP + Successfully imported TOTP configuration + Failed to import TOTP configuration -- cgit v1.2.3