Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 444367e

Browse files
authored
Fixes #3290 Pico title bar fixes (#3302)
* Fixes Pico title bar tint issue * Use setValue for a faster title bar visibility switch
1 parent 3068043 commit 444367e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/src/common/shared/org/mozilla/vrbrowser/ui/viewmodel/WindowViewModel.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ public MutableLiveData<ObservableBoolean> getIsActiveWindow() {
551551
}
552552

553553
public void setIsActiveWindow(boolean isActiveWindow) {
554-
this.isActiveWindow.postValue(new ObservableBoolean(isActiveWindow));
554+
this.isActiveWindow.setValue(new ObservableBoolean(isActiveWindow));
555555
}
556556

557557
@NonNull

app/src/main/res/layout/title_bar.xml

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
android:paddingEnd="5dp"
7373
android:requiresFadingEdge="horizontal"
7474
android:singleLine="true"
75+
android:textColor="@color/fog"
7576
tools:text="@{viewmodel.titleBarUrl}" />
7677
</LinearLayout>
7778

0 commit comments

Comments
 (0)