Desktop: Fix Windows build (#3522)

* fix win build

* fix mac

* Change window button colors to match Windows colors

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Timon
2025-12-22 22:48:13 +00:00
committed by GitHub
parent 9d26c040e9
commit 11e2882cb2
4 changed files with 19 additions and 35 deletions

View File

@@ -21,7 +21,7 @@ pub(crate) mod menu {
widgets
.into_iter()
.map(|widget| {
let text_button = match &widget.widget {
let text_button = match widget.widget.as_ref() {
Widget::TextButton(text_button) => text_button,
_ => panic!("Menu bar layout top-level widgets are supposed to be text buttons"),
};