Skip to content

Commit 2dc0f8a

Browse files
committed
Fix selected theme file name preview
1 parent a7ab67a commit 2dc0f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

H2MLauncher.UI/ViewModels/CustomizationDialogViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public CustomizationDialogViewModel(
8181
_customization = customization;
8282

8383
BackgroundImageUrl = options.CurrentValue.Customization?.BackgroundImagePath;
84-
LoadedThemePath = options.CurrentValue.Customization?.Themes?.FirstOrDefault();
84+
LoadedThemePath = Path.GetFileName(options.CurrentValue.Customization?.Themes?.FirstOrDefault());
8585

8686
_defaultThemeViewModel = new()
8787
{

0 commit comments

Comments
 (0)