1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-12 06:13:21 +00:00

[PS-2520] Restore copy confirmation toast on Android 13+ (#2388)

* Restore copy notification toast on Android 13+

* fixed space
This commit is contained in:
mp-bw
2023-02-21 10:49:24 -05:00
committed by GitHub
parent 3f72d35145
commit 6da1875ab6
4 changed files with 1 additions and 22 deletions

View File

@@ -49,12 +49,6 @@ namespace Bit.Droid.Services
}
}
public bool IsCopyNotificationHandledByPlatform()
{
// Android 13+ provides built-in notification when text is copied to the clipboard
return (int)Build.VERSION.SdkInt >= 33;
}
private void CopyToClipboard(string text, bool isSensitive = true)
{
var clipboardManager = Application.Context.GetSystemService(Context.ClipboardService) as ClipboardManager;