Skip to content

Commit 0ed9188

Browse files
authored
Fix: Fixed an issue where layout setting didn't persist across updates (#16060)
1 parent 2eb3056 commit 0ed9188

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Files.App/Helpers/Layout/LayoutPreferencesDatabase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Files.App.Helpers
1212
{
1313
public sealed class LayoutPreferencesDatabase
1414
{
15-
private readonly static string LayoutSettingsKey = @$"Software\Files Community\{Package.Current.Id.FullName}\v1\LayoutPreferences";
15+
private readonly static string LayoutSettingsKey = @$"Software\Files Community\{Package.Current.Id.Name}\v1\LayoutPreferences";
1616

1717
public LayoutPreferencesItem? GetPreferences(string filePath, ulong? frn)
1818
{

src/Files.App/Utils/FileTags/FileTagsDatabase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Files.App.Utils.FileTags
1313
public sealed class FileTagsDatabase
1414
{
1515
private static string? _FileTagsKey;
16-
private string? FileTagsKey => _FileTagsKey ??= SafetyExtensions.IgnoreExceptions(() => @$"Software\Files Community\{Package.Current.Id.FullName}\v1\FileTags");
16+
private string? FileTagsKey => _FileTagsKey ??= SafetyExtensions.IgnoreExceptions(() => @$"Software\Files Community\{Package.Current.Id.Name}\v1\FileTags");
1717

1818
public void SetTags(string filePath, ulong? frn, string[] tags)
1919
{

0 commit comments

Comments
 (0)