mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
fix typo
This commit is contained in:
parent
c5b11202a6
commit
2109ae27d0
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue