Skip to content

Commit 70b49ba

Browse files
authored
Enable shared connection for layout prefs DB (#9550)
1 parent fc87e12 commit 70b49ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.Uwp/ViewModels/FolderSettingsViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class FolderSettingsViewModel : ObservableObject
2020
{
2121
public static string LayoutSettingsDbPath => IO.Path.Combine(ApplicationData.Current.LocalFolder.Path, "user_settings.db");
2222

23-
private static readonly Lazy<LayoutPrefsDb> dbInstance = new(() => new LayoutPrefsDb(LayoutSettingsDbPath));
23+
private static readonly Lazy<LayoutPrefsDb> dbInstance = new(() => new LayoutPrefsDb(LayoutSettingsDbPath, true));
2424
public static LayoutPrefsDb DbInstance => dbInstance.Value;
2525

2626
public event EventHandler<LayoutPreferenceEventArgs> LayoutPreferencesUpdateRequired;

0 commit comments

Comments
 (0)