mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-29 04:22:22 -05:00
Clear clipboard fix
This commit is contained in:
parent
118bd4f6ee
commit
42fc18b4e0
@ -84,6 +84,9 @@ namespace keepass2android
|
||||
public static void CopyToClipboard(Context context, String text) {
|
||||
Android.Text.ClipboardManager clipboard = (Android.Text.ClipboardManager) context.GetSystemService(Context.ClipboardService);
|
||||
clipboard.Text = text;
|
||||
//some devices don't accept empty strings. Replace with *** then.
|
||||
if (clipboard.Text == "")
|
||||
clipboard.Text = "***";
|
||||
}
|
||||
|
||||
public static void GotoUrl(Context context, String url) {
|
||||
|
Loading…
Reference in New Issue
Block a user