Use requireContext() instead of asserting non-null context
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
parent
deb6b4230d
commit
b3f4cb8114
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
|
|||
viewModel.getShowFutureItemsFromPreferences()
|
||||
)
|
||||
|
||||
AlertDialog.Builder(context!!)
|
||||
AlertDialog.Builder(requireContext())
|
||||
.setTitle(R.string.feed_hide_streams_title)
|
||||
.setMultiChoiceItems(dialogItems, checkedDialogItems) { _, which, isChecked ->
|
||||
checkedDialogItems[which] = isChecked
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue