hammond-gtk: Set the default theme to the dark variant for now.

This commit is contained in:
Jordan Petridis 2017-12-30 18:12:53 +02:00
parent ce08d49107
commit 4894683924
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -72,5 +72,11 @@ fn main() {
600,
);
// This set's the app to dark mode.
// It wiil be in the user's preference later but for now
// I will abuse my power and force it on everyone till then :P.
let settings = gtk::Settings::get_default().unwrap();
settings.set_property_gtk_application_prefer_dark_theme(true);
App::new().run();
}