Skip to content

Commit

Permalink
Merge pull request #99 from srmurguia/b274660665
Browse files Browse the repository at this point in the history
Fix nullability of Menu in onCreateOptionsMenu
  • Loading branch information
riggaroo authored Mar 27, 2023
2 parents 9045d2b + 01f67f7 commit 1f1c48b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class LoadingActivity : AppCompatActivity() {
}
}

override fun onCreateOptionsMenu(menu: Menu?): Boolean {
override fun onCreateOptionsMenu(menu: Menu): Boolean {
menuInflater.inflate(R.menu.loading, menu)
return super.onCreateOptionsMenu(menu)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class StaggerActivity : AppCompatActivity() {
}
}

override fun onCreateOptionsMenu(menu: Menu?): Boolean {
override fun onCreateOptionsMenu(menu: Menu): Boolean {
menuInflater.inflate(R.menu.stagger, menu)
return super.onCreateOptionsMenu(menu)
}
Expand Down

0 comments on commit 1f1c48b

Please sign in to comment.