Don't show update notification when launching the app for the first time

pull/1001/head
Tyrrrz 2 years ago
parent 1e7b8ec83f
commit 93799eb231

@ -117,7 +117,7 @@ public class RootViewModel : Screen, IHandle<NotificationMessage>, IDisposable
}
// App has just been updated, display changelog
if (_settingsService.LastAppVersion != App.Version)
if (_settingsService.LastAppVersion is not null && _settingsService.LastAppVersion != App.Version)
{
Notifications.Enqueue(
$"Successfully updated to {App.Name} v{App.VersionString}",

Loading…
Cancel
Save