Android 13: native clipboard message

This commit is contained in:
M66B
2022-06-12 09:27:19 +02:00
parent 01dd66eccb
commit dd0afc5e22
6 changed files with 27 additions and 10 deletions

View File

@@ -483,7 +483,9 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer
ClipData clip = ClipData.newPlainText(getString(R.string.app_name), mnemonic);
cbm.setPrimaryClip(clip);
ToastEx.makeText(context, R.string.title_clipboard_copied, Toast.LENGTH_LONG).show();
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU)
ToastEx.makeText(context, R.string.title_clipboard_copied, Toast.LENGTH_LONG).show();
} else {
prefs.edit().remove("wipe_mnemonic").apply();