2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00
Setting visibility to GONE allows clicks to parent view in that space.
This commit is contained in:
mcarare 2020-04-24 09:26:06 +03:00 committed by Mihai Adrian
parent 97304fda03
commit 0ecb2893f0

View File

@ -17,8 +17,8 @@ import mozilla.components.browser.menu.item.SimpleBrowserMenuItem
import mozilla.components.feature.tab.collections.TabCollection import mozilla.components.feature.tab.collections.TabCollection
import org.mozilla.fenix.R import org.mozilla.fenix.R
import org.mozilla.fenix.ext.getIconColor import org.mozilla.fenix.ext.getIconColor
import org.mozilla.fenix.ext.hideAndDisable
import org.mozilla.fenix.ext.increaseTapArea import org.mozilla.fenix.ext.increaseTapArea
import org.mozilla.fenix.ext.removeAndDisable
import org.mozilla.fenix.ext.showAndEnable import org.mozilla.fenix.ext.showAndEnable
import org.mozilla.fenix.home.sessioncontrol.CollectionInteractor import org.mozilla.fenix.home.sessioncontrol.CollectionInteractor
import org.mozilla.fenix.theme.ThemeManager import org.mozilla.fenix.theme.ThemeManager
@ -83,8 +83,8 @@ class CollectionViewHolder(
view.collection_share_button.showAndEnable() view.collection_share_button.showAndEnable()
view.collection_overflow_button.showAndEnable() view.collection_overflow_button.showAndEnable()
} else { } else {
view.collection_share_button.hideAndDisable() view.collection_share_button.removeAndDisable()
view.collection_overflow_button.hideAndDisable() view.collection_overflow_button.removeAndDisable()
} }
view.collection_icon.colorFilter = createBlendModeColorFilterCompat( view.collection_icon.colorFilter = createBlendModeColorFilterCompat(