mirror of
https://github.com/pachli/pachli-android.git
synced 2025-02-01 09:57:16 +01:00
5c048311b2
Previous code was inconsistent about whether or not a notification toast was shown after copying text (contrary to platform guidelines), and there was some code duplication. Fix this with a new `ClipboardUseCase` with a `copyTextTo` method that handles copying text to the clipboard and showing a message afterwards (depending on platform level).