diff --git a/app/src/main/java/com/lagradost/cloudstream3/CommonActivity.kt b/app/src/main/java/com/lagradost/cloudstream3/CommonActivity.kt index 669dde13..84c9d047 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/CommonActivity.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/CommonActivity.kt @@ -157,10 +157,10 @@ object CommonActivity { val binding = ToastBinding.inflate(act.layoutInflater) binding.text.text = message.trim() + // custom toasts are deprecated and won't appear when cs3 sets minSDK to api30 (A11) val toast = Toast(act) toast.duration = duration ?: Toast.LENGTH_SHORT toast.view = binding.root - // custom toasts are deprecated and won't appear when cs3 starts targeting api30 (A11) currentToast = toast toast.show()