From 3ae087bb882812aa50b42af0cbd64d4d066a5f98 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Fri, 23 Aug 2019 14:44:29 +1000 Subject: [PATCH] Fix copy --- res/values/strings.xml | 1 - src/org/thoughtcrime/securesms/loki/NewConversationActivity.kt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 56a82f03dc..5243c094aa 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1608,7 +1608,6 @@ Your QR Code This is your personal QR code. Other people can scan it to start a secure conversation with you. Loki Messenger needs camera access to scan QR codes. - Loki Messenger can\'t scan QR codes without camera access. Scan QR Code Scan the QR code of the person you\'d like to securely message. They can find their QR code by going into Loki Messenger\'s in-app settings and clicking \"Show QR Code\". diff --git a/src/org/thoughtcrime/securesms/loki/NewConversationActivity.kt b/src/org/thoughtcrime/securesms/loki/NewConversationActivity.kt index 21b8df4b7e..9d3364675e 100644 --- a/src/org/thoughtcrime/securesms/loki/NewConversationActivity.kt +++ b/src/org/thoughtcrime/securesms/loki/NewConversationActivity.kt @@ -54,7 +54,7 @@ class NewConversationActivity : PassphraseRequiredActionBarActivity(), ScanListe fragment.scanListener = this supportFragmentManager.beginTransaction().replace(android.R.id.content, fragment).addToBackStack(null).commitAllowingStateLoss() } - .onAnyDenied { Toast.makeText(this, R.string.fragment_qr_code_camera_permission_denied_message, Toast.LENGTH_SHORT).show() } + .onAnyDenied { Toast.makeText(this, R.string.fragment_qr_code_camera_permission_dialog_message, Toast.LENGTH_SHORT).show() } .execute() }