feat: cosmetic overhaul of native notification popup (#13)
* feat: cosmetic overhaul of native notification popup * fix: use correct screen default * feat: move notification test from debug build type to button press * fix: not debug anymore * fix: rearrange native notification settings controls * fix: account for display scaling when positioning notification * fix: guard against a screen that no longer exists * fix: safer way to get screens, in case control tree changes
This commit is contained in:
parent
4cebc3a344
commit
7d2cc417ba
10 changed files with 401 additions and 35 deletions
|
|
@ -9,6 +9,13 @@ namespace Observatory
|
|||
[STAThread]
|
||||
static void Main(string[] args)
|
||||
{
|
||||
string version = System.Reflection.Assembly.GetEntryAssembly().GetName().Version.ToString();
|
||||
if (Properties.Core.Default.CoreVersion != version)
|
||||
{
|
||||
Properties.Core.Default.Upgrade();
|
||||
Properties.Core.Default.CoreVersion = version;
|
||||
Properties.Core.Default.Save();
|
||||
}
|
||||
BuildAvaloniaApp().StartWithClassicDesktopLifetime(args);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue