toast on copy to clipboard

This commit is contained in:
Dominik Schürmann 2014-01-14 21:53:57 +01:00
parent b5013be037
commit 0caa4de4fe
2 changed files with 3 additions and 0 deletions

View File

@ -221,6 +221,7 @@
<string name="key_sign_success">Successfully signed key</string>
<string name="list_empty">This list is empty!</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

View File

@ -433,6 +433,8 @@ public class ViewKeyActivity extends SherlockFragmentActivity implements CreateN
new long[] { masterKeyId });
ClipboardReflection.copyToClipboard(this, keyringArmored.get(0));
Toast.makeText(getApplicationContext(), R.string.key_copied_to_clipboard, Toast.LENGTH_LONG)
.show();
}
private void shareNfc() {