feat:优化弹窗提示

pull/1848/head
Xwite 3 years ago
parent 28f40e2a3b
commit b2a4a73acb
  1. 4
      app/src/main/java/io/legado/app/help/JsExtensions.kt

@ -567,14 +567,14 @@ interface JsExtensions {
* 弹窗提示
*/
fun toast(msg: Any?) {
appCtx.toastOnUi(msg.toString())
appCtx.toastOnUi("${getSource()?.getTag()}: ${msg.toString()}")
}
/**
* 弹窗提示 停留时间较长
*/
fun longToast(msg: Any?) {
appCtx.longToastOnUi(msg.toString())
appCtx.longToastOnUi("${getSource()?.getTag()}: ${msg.toString()}")
}
/**

Loading…
Cancel
Save