Fix hiding the sync favorites option

This commit is contained in:
Jobobby04 2020-05-24 13:34:25 -04:00
parent b4a88926ed
commit 9c978c608d

View File

@ -398,7 +398,7 @@ class LibraryController(
// Mutate the filter icon because it needs to be tinted and the resource is shared. // Mutate the filter icon because it needs to be tinted and the resource is shared.
menu.findItem(R.id.action_filter).icon.mutate() menu.findItem(R.id.action_filter).icon.mutate()
menu.findItem(R.id.action_sync_favorites).isEnabled = preferences.eh_isHentaiEnabled().get() menu.findItem(R.id.action_sync_favorites).isVisible = preferences.eh_isHentaiEnabled().get()
} }
fun search(query: String) { fun search(query: String) {