From f9e85e78af8356fc403871e9f72d997d6a5448ee Mon Sep 17 00:00:00 2001 From: mcarare <“mihai.carare.dev@gmail.com”> Date: Tue, 3 Mar 2020 17:37:56 +0200 Subject: [PATCH] For #6607 Update button theming in no tab pane --- .../viewholders/NoContentMessageWithActionViewHolder.kt | 2 +- app/src/main/res/layout/no_content_message_with_action.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/NoContentMessageWithActionViewHolder.kt b/app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/NoContentMessageWithActionViewHolder.kt index 746ad9beb..d83525673 100644 --- a/app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/NoContentMessageWithActionViewHolder.kt +++ b/app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/NoContentMessageWithActionViewHolder.kt @@ -36,7 +36,7 @@ class NoContentMessageWithActionViewHolder( with(view.context) { if (buttonIcon != 0 || buttonText != 0) { - view.add_tab_button.apply { + view.add_new_tab_button.apply { isVisible = true setIcon(getDrawable(buttonIcon)) text = getString(buttonText) diff --git a/app/src/main/res/layout/no_content_message_with_action.xml b/app/src/main/res/layout/no_content_message_with_action.xml index 5ef4ad519..8d8c98e31 100644 --- a/app/src/main/res/layout/no_content_message_with_action.xml +++ b/app/src/main/res/layout/no_content_message_with_action.xml @@ -37,7 +37,7 @@ tools:text="@tools:sample/lorem" />