Skip to content

Commit cf13063

Browse files
authored
Code Quality: Don't leave running in background in dev (#13786)
1 parent 7960b7d commit cf13063

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Files.App/Services/Settings/GeneralSettingsService.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
// Copyright (c) 2023 Files Community
22
// Licensed under the MIT License. See the LICENSE.
33

4-
using Files.App.Utils.Serialization;
5-
using Files.Core.Services.Settings;
64
using Microsoft.AppCenter.Analytics;
7-
using System.Collections.Generic;
85

96
namespace Files.App.Services.Settings
107
{
@@ -210,7 +207,11 @@ public bool ShowOpenInNewPane
210207

211208
public bool LeaveAppRunning
212209
{
210+
#if STORE || STABLE || PREVIEW
213211
get => Get(true);
212+
#else
213+
get => Get(false);
214+
#endif
214215
set => Set(value);
215216
}
216217

0 commit comments

Comments
 (0)