File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/Files.App/Helpers/Application Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) Files Community
2
2
// Licensed under the MIT License.
3
3
4
- using CommunityToolkit . WinUI ;
5
4
using Files . App . Helpers . Application ;
6
5
using Files . App . Services . SizeProvider ;
7
6
using Files . App . Utils . Logger ;
13
12
using Sentry ;
14
13
using Sentry . Protocol ;
15
14
using System . IO ;
16
- using System . Security ;
17
15
using System . Text ;
18
16
using Windows . ApplicationModel ;
19
17
using Windows . Storage ;
@@ -141,7 +139,7 @@ public static async Task CheckAppUpdate()
141
139
await updateService . CheckAndUpdateFilesLauncherAsync ( ) ;
142
140
await updateService . CheckForReleaseNotesAsync ( ) ;
143
141
144
- if ( IsAppUpdated )
142
+ if ( IsAppUpdated && updateService . AreReleaseNotesAvailable )
145
143
await Ioc . Default . GetRequiredService < ICommandManager > ( ) . OpenReleaseNotes . ExecuteAsync ( ) ;
146
144
}
147
145
You can’t perform that action at this time.
0 commit comments