mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 11:35:07 -05:00
toast on copy to clipboard
This commit is contained in:
parent
b5013be037
commit
0caa4de4fe
@ -221,6 +221,7 @@
|
|||||||
<string name="key_sign_success">Successfully signed key</string>
|
<string name="key_sign_success">Successfully signed key</string>
|
||||||
<string name="list_empty">This list is empty!</string>
|
<string name="list_empty">This list is empty!</string>
|
||||||
<string name="nfc_successfull">Successfully sent key with NFC Beam!</string>
|
<string name="nfc_successfull">Successfully sent key with NFC Beam!</string>
|
||||||
|
<string name="key_copied_to_clipboard">Key has been copied to the clipboard!</string>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
errors
|
errors
|
||||||
|
@ -433,6 +433,8 @@ public class ViewKeyActivity extends SherlockFragmentActivity implements CreateN
|
|||||||
new long[] { masterKeyId });
|
new long[] { masterKeyId });
|
||||||
|
|
||||||
ClipboardReflection.copyToClipboard(this, keyringArmored.get(0));
|
ClipboardReflection.copyToClipboard(this, keyringArmored.get(0));
|
||||||
|
Toast.makeText(getApplicationContext(), R.string.key_copied_to_clipboard, Toast.LENGTH_LONG)
|
||||||
|
.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void shareNfc() {
|
private void shareNfc() {
|
||||||
|
Loading…
Reference in New Issue
Block a user