Skip to content

Commit

Permalink
Fix copying email address to clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed Sep 13, 2024
1 parent 88d0dbc commit 3036504
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3209,6 +3209,9 @@ public static boolean shouldShowClipboardToast() {
}

public static boolean addToClipboard(CharSequence str) {

str = str.toString().replace("mailto:", "");

try {
android.content.ClipboardManager clipboard = (android.content.ClipboardManager) ApplicationLoader.applicationContext.getSystemService(Context.CLIPBOARD_SERVICE);

Expand Down

0 comments on commit 3036504

Please sign in to comment.