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).
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 acopyTextTo
method that handles copying text to the clipboard and showing a message afterwards (depending on platform level).