Fix crash when clicking Lens icon

This commit is contained in:
Goooler authored and SuperDragonXD committed 2022-09-27 15:13:37 +08:00
1 parent 24760b1269
commit e7fe6d4aef
1 file changed
+1 -1
+1 -1
View File
@@ -160,7 +160,7 @@ class QsbLayout(context: Context, attrs: AttributeSet?) : FrameLayout(context, a
with(lensIcon) {
isVisible = true
setOnClickListener {
context.startActivity(lensIntent)
runCatching { context.startActivity(lensIntent) }
}
}
}