Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jahirfiquitiva committed Jun 7, 2020
1 parent 6d5a6f8 commit 21ef659
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ open class MuzeiSettingsActivity : BaseThemedActivity<Preferences>() {
collsSummaryText?.text = getString(R.string.choose_collections_summary, selectedCollections)

if (shouldShowCollections()) {
findViewById<LinearLayout>(R.id.choose_collections).setOnClickListener {
findViewById<View?>(R.id.choose_collections).setOnClickListener {
if (isNetworkAvailable()) {
if (viewModel.collections.isNotEmpty())
showChooseCollectionsDialog()
Expand All @@ -77,7 +77,7 @@ open class MuzeiSettingsActivity : BaseThemedActivity<Preferences>() {
}
}
} else {
findViewById<LinearLayout>(R.id.choose_collections).gone()
findViewById<View?>(R.id.choose_collections).gone()
}
}

Expand Down

0 comments on commit 21ef659

Please sign in to comment.