mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-01-28 22:01:55 +00:00
Don't show update notification when launching the app for the first time
This commit is contained in:
@@ -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}",
|
||||
|
||||
Reference in New Issue
Block a user