Skip to content

Commit

Permalink
Fixes #3290 Pico title bar fixes (#3302)
Browse files Browse the repository at this point in the history
* Fixes Pico title bar tint issue

* Use setValue for a faster title bar visibility switch
  • Loading branch information
keianhzo committed May 1, 2020
1 parent 3068043 commit 444367e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -551,7 +551,7 @@ public MutableLiveData<ObservableBoolean> getIsActiveWindow() {
}

public void setIsActiveWindow(boolean isActiveWindow) {
this.isActiveWindow.postValue(new ObservableBoolean(isActiveWindow));
this.isActiveWindow.setValue(new ObservableBoolean(isActiveWindow));
}

@NonNull
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/title_bar.xml
Expand Up @@ -72,6 +72,7 @@
android:paddingEnd="5dp"
android:requiresFadingEdge="horizontal"
android:singleLine="true"
android:textColor="@color/fog"
tools:text="@{viewmodel.titleBarUrl}" />
</LinearLayout>

Expand Down

0 comments on commit 444367e

Please sign in to comment.