Skip to content

Commit

Permalink
Code Quality: Don't leave running in background in dev (#13786)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 committed Nov 10, 2023
1 parent 7960b7d commit cf13063
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Files.App/Services/Settings/GeneralSettingsService.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
// Copyright (c) 2023 Files Community
// Licensed under the MIT License. See the LICENSE.

using Files.App.Utils.Serialization;
using Files.Core.Services.Settings;
using Microsoft.AppCenter.Analytics;
using System.Collections.Generic;

namespace Files.App.Services.Settings
{
Expand Down Expand Up @@ -210,7 +207,11 @@ public bool ShowOpenInNewPane

public bool LeaveAppRunning
{
#if STORE || STABLE || PREVIEW
get => Get(true);
#else
get => Get(false);
#endif
set => Set(value);
}

Expand Down

0 comments on commit cf13063

Please sign in to comment.