Skip to content

Commit

Permalink
Merge pull request #817 from Yosif-Smint/feature/bottom-sheet-header-…
Browse files Browse the repository at this point in the history
…background-color

Override header background color only when not set
  • Loading branch information
enisn authored Nov 5, 2024
2 parents da3f89f + aeca739 commit daca5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UraniumUI.Material/Attachments/BottomSheetView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected virtual void Init()
var tapGestureRecognizer = new TapGestureRecognizer();
tapGestureRecognizer.Tapped += (s, e) => IsPresented = !IsPresented;
Header.GestureRecognizers.Add(tapGestureRecognizer);
Header.BackgroundColor = this.BackgroundColor;
Header.BackgroundColor ??= this.BackgroundColor;

closeGestureRecognizer.Tapped += (s, e) => IsPresented = false;
}
Expand Down

0 comments on commit daca5ce

Please sign in to comment.