Skip to content

Commit

Permalink
Fix: Fixed an issue where layout setting didn't persist across updates (
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 authored Aug 23, 2024
1 parent 2eb3056 commit 0ed9188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Files.App/Helpers/Layout/LayoutPreferencesDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Files.App.Helpers
{
public sealed class LayoutPreferencesDatabase
{
private readonly static string LayoutSettingsKey = @$"Software\Files Community\{Package.Current.Id.FullName}\v1\LayoutPreferences";
private readonly static string LayoutSettingsKey = @$"Software\Files Community\{Package.Current.Id.Name}\v1\LayoutPreferences";

public LayoutPreferencesItem? GetPreferences(string filePath, ulong? frn)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Files.App/Utils/FileTags/FileTagsDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Files.App.Utils.FileTags
public sealed class FileTagsDatabase
{
private static string? _FileTagsKey;
private string? FileTagsKey => _FileTagsKey ??= SafetyExtensions.IgnoreExceptions(() => @$"Software\Files Community\{Package.Current.Id.FullName}\v1\FileTags");
private string? FileTagsKey => _FileTagsKey ??= SafetyExtensions.IgnoreExceptions(() => @$"Software\Files Community\{Package.Current.Id.Name}\v1\FileTags");

public void SetTags(string filePath, ulong? frn, string[] tags)
{
Expand Down

0 comments on commit 0ed9188

Please sign in to comment.