From b650ee6ebc0dae18aa11ebd27985974760f1fb10 Mon Sep 17 00:00:00 2001 From: Mikunj Date: Fri, 22 Nov 2019 12:08:09 +1100 Subject: [PATCH] Added QR code scanning. --- res/layout/activity_seed.xml | 13 ++++++- res/layout/fragment_scan_qr_code.xml | 3 +- res/layout/view_device_linking.xml | 7 ++++ res/values/strings.xml | 3 +- .../securesms/loki/DeviceLinkingView.kt | 22 ++++++++++-- .../securesms/loki/ScanQRCodeFragment.kt | 25 ++++++++++++-- .../securesms/loki/SeedActivity.kt | 34 ++++++++++++++++++- src/org/thoughtcrime/securesms/qr/QrCode.java | 11 ++++-- 8 files changed, 107 insertions(+), 11 deletions(-) diff --git a/res/layout/activity_seed.xml b/res/layout/activity_seed.xml index 1ac6b7e57a..cb77523182 100644 --- a/res/layout/activity_seed.xml +++ b/res/layout/activity_seed.xml @@ -96,6 +96,17 @@ app:labeledEditText_background="@color/loki_darkest_gray" app:labeledEditText_label="@string/activity_key_pair_public_key_edit_text_label"/> +