Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
natsurainko committed Aug 29, 2024
1 parent 5a89f51 commit 1e552f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
Foreground="{ThemeResource ApplicationSecondaryForegroundThemeBrush}"
Text="Launch Task" />
<Run Foreground="{ThemeResource ApplicationSecondaryForegroundThemeBrush}">:</Run>
<Run FontWeight="SemiBold" Text="{Binding MinecraftInstance.AbsoluteId}" />
<Run FontWeight="SemiBold" Text="{Binding MinecraftInstance.InstanceId}" />
</TextBlock>
</controls:SettingsExpander.Header>

Expand Down Expand Up @@ -270,12 +270,6 @@
</controls:SettingsCard.Header>

<StackPanel Orientation="Horizontal" Spacing="10">
<Button Command="{Binding LoggerButtonCommand}">
<StackPanel Orientation="Horizontal" Spacing="5">
<FontIcon FontSize="14" Glyph="&#xf000;" />
<TextBlock x:Uid="Tasks_LaunchPage_B1" Text="Open Log" />
</StackPanel>
</Button>
<Button IsEnabled="False">
<StackPanel Orientation="Horizontal" Spacing="5">
<FontIcon FontSize="14" Glyph="&#xf000;" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public bool HasFile(string path)
/// <param name="path">Path of the directory in the local app data store</param>
/// <returns>true if path referts to an existing directory</returns>
public bool HasDirectory(string path)
=> Directory.Exists(Path.Combine(Path.GetDirectoryName(path), path));
=> Directory.Exists(Path.Combine(Path.GetDirectoryName(path)!, path));

/// <summary>
/// Get a file in the local app data store. <br/>
Expand Down

0 comments on commit 1e552f6

Please sign in to comment.