if there is a bug, use a default skin
This commit is contained in:
parent
82281ecf1b
commit
d1c232df9d
@ -23,7 +23,7 @@ namespace EliteBGS;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaction logic for MainWindow.xaml
|
/// Interaction logic for MainWindow.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class MainWindow : MahApps.Metro.Controls.MetroWindow {
|
public partial class MainWindow : MetroWindow {
|
||||||
private PlayerJournal journal;
|
private PlayerJournal journal;
|
||||||
private Report report;
|
private Report report;
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ public partial class MainWindow : MahApps.Metro.Controls.MetroWindow {
|
|||||||
ThemeManager.Current.ChangeTheme(this, Config.Global.FullTheme);
|
ThemeManager.Current.ChangeTheme(this, Config.Global.FullTheme);
|
||||||
} catch (Exception) {
|
} catch (Exception) {
|
||||||
// Theme is invalid, revert back to our standard dark theme
|
// Theme is invalid, revert back to our standard dark theme
|
||||||
Config.Global.Colour = "HouseSalus";
|
Config.Global.Colour = "Amber";
|
||||||
Config.Global.Theme = "Dark";
|
Config.Global.Theme = "Dark";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user