mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-09-28 17:08:35 +02:00
Revert "Show copied to clipboard toast on Samsung devices even if Android 13+"
This reverts commit bf524595e2
.
Apparently it shows a toast, but I don't see it?
This commit is contained in:
parent
82bdf63419
commit
d85a76484c
@ -46,7 +46,7 @@ fun Context.copyToClipboard(label: String, content: String) {
|
|||||||
|
|
||||||
// Android 13 and higher shows a visual confirmation of copied contents
|
// Android 13 and higher shows a visual confirmation of copied contents
|
||||||
// https://developer.android.com/about/versions/13/features/copy-paste
|
// https://developer.android.com/about/versions/13/features/copy-paste
|
||||||
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.S_V2 || DeviceUtil.isSamsung) {
|
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.S_V2) {
|
||||||
toast(stringResource(MR.strings.copied_to_clipboard, content.truncateCenter(50)))
|
toast(stringResource(MR.strings.copied_to_clipboard, content.truncateCenter(50)))
|
||||||
}
|
}
|
||||||
} catch (e: Throwable) {
|
} catch (e: Throwable) {
|
||||||
|
Loading…
Reference in New Issue
Block a user