mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Fix crash when clicking Lens icon
This commit is contained in:
@@ -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) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user