We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af0483a commit 827eb96Copy full SHA for 827eb96
src/Files/Helpers/ExternalResourcesHelper.cs
@@ -93,10 +93,12 @@ public async Task<ResourceDictionary> TryLoadResourceDictionary(AppTheme theme)
93
if (theme.AbsolutePath.Contains(ImportedThemesFolder.Path))
94
{
95
file = await ImportedThemesFolder.GetFileAsync(theme.Path);
96
+ theme.IsImportedTheme = true;
97
}
98
else
99
100
file = await ThemeFolder.GetFileAsync(theme.Path);
101
+ theme.IsImportedTheme = false;
102
103
104
var code = await FileIO.ReadTextAsync(file);
@@ -138,5 +140,6 @@ public class AppTheme
138
140
public string Path { get; set; }
139
141
public string AbsolutePath { get; set; }
142
public string Key => $"{Name}";
143
+ public bool IsImportedTheme { get; set; }
144
145
0 commit comments