fix: OTP clipboard as sensitive

This commit is contained in:
J-Jamet
2023-07-23 22:57:22 +02:00
parent 1811b02fc8
commit b1d4310b93

View File

@@ -527,7 +527,8 @@ class NodesAdapter (
try { try {
mClipboardHelper.copyToClipboard( mClipboardHelper.copyToClipboard(
TemplateField.getLocalizedName(context, TemplateField.LABEL_TOKEN), TemplateField.getLocalizedName(context, TemplateField.LABEL_TOKEN),
token token,
true
) )
} catch (e: Exception) { } catch (e: Exception) {
Log.e(TAG, "Unable to copy the OTP token", e) Log.e(TAG, "Unable to copy the OTP token", e)