Skip to content

Commit

Permalink
Fix crash from nullable menuInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
sictiru committed Feb 6, 2025
1 parent a42b7e3 commit 536252c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ class StoryViewAdapter(
listener.onStoryClicked(fs, story?.storyHash)
}

override fun onCreateContextMenu(menu: ContextMenu, v: View, menuInfo: ContextMenuInfo) {
override fun onCreateContextMenu(menu: ContextMenu, v: View, menuInfo: ContextMenuInfo?) {
// clicks like to get accidentally triggered by the system right after we detect
// a gesture. ignore if a gesture appears to be in progress.
if (gestureDebounce) {
Expand Down

0 comments on commit 536252c

Please sign in to comment.