protected async override void OnNavigatedTo(NavigationEventArgs e) { Window.Current.CoreWindow.KeyDown += (sender, args) => GlobalPageKeyDown?.Invoke(sender, args); if (RoamingSettingsHelper.GetSetting <bool>("IsFirstTime", true)) { string releaseNotes = "FIXES:\r\n\r\n" + "Fix play on tap for all touch devices.\n" + "Fixed all crashes.\r\n\r\n" + "NEW THINGS:\r\n\r\n" + "Removed enter to full screen on startup.\n" + "Removed back button from shortcuts.\n"; await SharedLogic.NotificationManager.ShowMessageBoxAsync(releaseNotes, "What's new in v2.4.0"); RoamingSettingsHelper.SaveSetting("IsFirstTime", false); } if (e.Parameter is StorageFile) { Messenger.Instance.NotifyColleagues(MessageTypes.MsgExecuteCmd, new List <object> { e.Parameter, 0.0, true, 50.0 }); } base.OnNavigatedTo(e); }
protected async override void OnNavigatedTo(NavigationEventArgs e) { Window.Current.CoreWindow.KeyDown += (sender, args) => GlobalPageKeyDown?.Invoke(sender, args); if (RoamingSettingsHelper.GetSetting <bool>("IsFirstTime", true)) { string releaseNotes = "𝐖𝐡𝐚𝐭'𝐬 𝐅𝐢𝐱𝐞𝐝:\n\n" + "• Fixed issue where library import took too much time.\n" + "• Fixed issue where many album arts were not loaded.\n" + "• Fixed other bugs.\n\n" + "𝐖𝐡𝐚𝐭'𝐬 𝐍𝐞𝐰:\n\n" + "• Added ability to ignore DRM-Protected songs. (𝑒𝑥𝑝𝑟𝑖𝑚𝑒𝑛𝑡𝑎𝑙)\n" + "• Added sorting by tracknumber for album songs.\n"; await SharedLogic.NotificationManager.ShowMessageBoxAsync(releaseNotes, "What's new in v2.6.2"); RoamingSettingsHelper.SaveSetting("IsFirstTime", false); } if (e.Parameter is StorageFile) { Messenger.Instance.NotifyColleagues(MessageTypes.MsgExecuteCmd, new List <object> { e.Parameter, 0.0, true, 50.0 }); } base.OnNavigatedTo(e); }
protected async override void OnNavigatedTo(NavigationEventArgs e) { Window.Current.CoreWindow.KeyDown += (sender, args) => GlobalPageKeyDown?.Invoke(sender, args); if (RoamingSettingsHelper.GetSetting <bool>("IsFirstTime", true)) { string releaseNotes = "FIXES:\r\n\r\n" + "Fixed 2 random crashes.\n" + "Fixed invisible jumplist issue when in sort/grouped mode.\n" + "Fixed empty album issue.\n" + "Fixed issue with auto loading of library at startup.\n" + "Fixed issue where song wasn't played from external speakers/headphones.\n" + "NEW THINGS:\r\n\r\n" + "Added support for German Translation (thanks to Armin).\n" + "Added backward navigation support for mobiles.\n" + "IMPROVEMENTS:\r\n\r\n" + "Core improvements (shuffle and other things).\n" + "Icon was improved.\n"; await SharedLogic.NotificationManager.ShowMessageBoxAsync(releaseNotes, "What's new in v2.6.0"); RoamingSettingsHelper.SaveSetting("IsFirstTime", false); } if (e.Parameter is StorageFile) { Messenger.Instance.NotifyColleagues(MessageTypes.MsgExecuteCmd, new List <object> { e.Parameter, 0.0, true, 50.0 }); } base.OnNavigatedTo(e); }
protected async override void OnNavigatedTo(NavigationEventArgs e) { Window.Current.CoreWindow.KeyDown += (sender, args) => GlobalPageKeyDown?.Invoke(sender, args); if (RoamingSettingsHelper.GetSetting <bool>("IsFirstTime", true)) { string releaseNotes = "FIXES:\r\n\r\n" + "We fixed the startup crash.\n" + "Fixed crash when changing theme.\n" + "Fixed crash when play songs from an album.\n" + "Fixed other various bugs and crashes.\r\n\r\n" + "NEW THINGS:\r\n\r\n" + "Added 'Now Playing' Screen with artist and album info fetching.\r\n\r\n" + "IMPROVEMENTS:\r\n\r\n" + "Greatly improved performance and navigation.\n" + "Improved Equalizer UI.\nImproved Blur\n" + "Improved UI (less glitches etc.)\r\n"; await SharedLogic.NotificationManager.ShowMessageBoxAsync(releaseNotes, "What's new in v2.3.0"); RoamingSettingsHelper.SaveSetting("IsFirstTime", false); } if (e.Parameter is StorageFile) { Messenger.Instance.NotifyColleagues(MessageTypes.MsgExecuteCmd, new List <object> { e.Parameter, 0.0, true, 50.0 }); } base.OnNavigatedTo(e); }
protected async override void OnNavigatedTo(NavigationEventArgs e) { Window.Current.CoreWindow.KeyDown += (sender, args) => GlobalPageKeyDown?.Invoke(sender, args); if (RoamingSettingsHelper.GetSetting <bool>("IsFirstTime", true)) { string releaseNotes = "FIXES:\r\n\r\n" + "Fixed issue with output device not changing when headphones are connected.\n" + "Fixed NowPlayingList loses its ItemTemplate when window size is changed.\n" + "Fixed crash after library load.\n" + "Fixed playlist import.\n" + "Fixed audio stutter when minimizing to background (only mobile).\n" + "Fixed crash when deleting duplicates.\r\n\r\n" + "NEW THINGS:\r\n\r\n" + "Added new Keyboard Shortcuts ('Keybindings' section in Settings).\n" + "Added full translation support.\n" + "Added ability to export playlist (only to .m3u & .pls for now).\n" + "Added silent upcoming song notifications.\n" + "Added translations for Czech and Sinhala languages.\n" + "Added equalizer presets (experimental).\n" + "Added real-time music library updates when filesystem changes (only works when app is running).\n" + "Added 'Contribute' section in settings to help in contributing.\n" + "Added auto playback stop in BreadPlayer when a song is played in Groove Player.\n" + "Added navigate to now playing screen when song is played on mobile.\n" + "Added auto removal of duplicates when importing songs.\n" + "Added navigate to now playing screen when song's tags are clicked in mini player.\r\n\r\n" + "IMPROVEMENTS:\r\n\r\n" + "Improved hamburger menu list item response on tap/click.\n" + "Improved all animations and transitions.\n" + "Improved navigation performance.\n" + "Improved library import.\n" + "Improved overall UI and increased readability.\n" + "Improved startup performance by 50% (only PC).\r\n"; await SharedLogic.NotificationManager.ShowMessageBoxAsync(releaseNotes, "What's new in v2.3.0 (after 120+ commits)"); RoamingSettingsHelper.SaveSetting("IsFirstTime", false); } if (e.Parameter is StorageFile) { Messenger.Instance.NotifyColleagues(MessageTypes.MsgExecuteCmd, new List <object> { e.Parameter, 0.0, true, 50.0 }); } base.OnNavigatedTo(e); }
protected async override void OnNavigatedTo(NavigationEventArgs e) { Window.Current.CoreWindow.KeyDown += (sender, args) => GlobalPageKeyDown?.Invoke(sender, args); if (SettingsHelper.GetLocalSetting <bool>("IsFirstTime", true)) { await WhatsNewDialogHelper.ShowWhatsNewDialogAsync(); SettingsHelper.SaveLocalSetting("IsFirstTime", false); } if (e.Parameter is IReadOnlyList <IStorageItem> files) { Messenger.Instance.NotifyColleagues(MessageTypes.MsgExecuteCmd, new List <object> { files, 0.0, true, 50.0 }); } else if (e.Parameter is string arguments && !string.IsNullOrEmpty(e.Parameter.ToString())) { _arguments = arguments; } base.OnNavigatedTo(e); }
protected override void OnNavigatingFrom(NavigatingCancelEventArgs e) { Window.Current.CoreWindow.KeyDown -= (sender, args) => GlobalPageKeyDown?.Invoke(sender, args); }