Added devel style to FirstRunApp if it's debug mode

This commit is contained in:
Observer KRypt0n_ 2022-08-03 00:17:46 +02:00
parent 724ff90329
commit 50b69482d5
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -66,6 +66,11 @@ impl AppWidgets {
result.carousel.append(&result.page_5.page);
result.carousel.append(&result.page_6.page);
// Set devel style to ApplicationWindow if it's debug mode
if crate::APP_DEBUG {
result.window.add_css_class("devel");
}
Ok(result)
}
}