File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed
src/Files.App/Utils/Taskbar Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -27,19 +27,16 @@ public sealed class SystemTrayIcon : IDisposable
2727
2828 // Fields
2929
30- private readonly static Guid _trayIconGuid = new (
31- #if DEBUG
32- "684F2832-AC2B-4630-98C2-73D6AEBD4001"
33- #elif PREVIEW
34- "684F2832-AC2B-4630-98C2-73D6AEBD4002"
35- #elif STABLE
36- "684F2832-AC2B-4630-98C2-73D6AEBD4003"
37- #elif STORE
38- "684F2832-AC2B-4630-98C2-73D6AEBD4004"
39- #else
40- "684F2832-AC2B-4630-98C2-73D6AEBD4005"
41- #endif
42- ) ;
30+ private readonly static Guid _trayIconGuid = AppLifecycleHelper . AppEnvironment switch
31+ {
32+ AppEnvironment . Dev => new Guid ( "684F2832-AC2B-4630-98C2-73D6AEBD4001" ) ,
33+ AppEnvironment . SideloadPreview => new Guid ( "684F2832-AC2B-4630-98C2-73D6AEBD4002" ) ,
34+ AppEnvironment . StorePreview => new Guid ( "684F2832-AC2B-4630-98C2-73D6AEBD4003" ) ,
35+ AppEnvironment . SideloadStable => new Guid ( "684F2832-AC2B-4630-98C2-73D6AEBD4004" ) ,
36+ AppEnvironment . StoreStable => new Guid ( "684F2832-AC2B-4630-98C2-73D6AEBD4005" ) ,
37+ _ => new Guid ( "684F2832-AC2B-4630-98C2-73D6AEBD4001" )
38+ } ;
39+
4340
4441 private readonly SystemTrayIconWindow _IconWindow ;
4542
You can’t perform that action at this time.
0 commit comments