This commit is contained in:
kunfei
2022-05-23 08:22:27 +08:00
parent f27081e49b
commit f1938757da
@@ -69,6 +69,7 @@ class PageView(context: Context) : FrameLayout(context) {
} }
private fun upBitmap() { private fun upBitmap() {
post {
Coroutine.async { Coroutine.async {
screenshot() screenshot()
}.onSuccess { }.onSuccess {
@@ -79,6 +80,7 @@ class PageView(context: Context) : FrameLayout(context) {
AppLog.put("更新PageView图片出错", it) AppLog.put("更新PageView图片出错", it)
} }
} }
}
fun upStyle() = binding.run { fun upStyle() = binding.run {
upTipStyle() upTipStyle()