Skip to content

Commit

Permalink
fix: bug in Show Title Only logic
Browse files Browse the repository at this point in the history
  • Loading branch information
MetalHexx committed Apr 1, 2024
1 parent 3de2178 commit 743a29f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

</StackPanel>

<StackPanel Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="30 3 0 0">
<StackPanel Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="30 4 0 0">
<Button
Content="{Binding File.Title, Mode=OneWay}"
Command="{Binding NavigateToFileDirCommand}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public PlayToolbarViewModel(
showReleaseInfo.CombineLatest(showCreatorInfo, (release, creator) => release && creator)
.ToPropertyEx(this, vm => vm.ShowReleaseCreatorSeperator);

showReleaseInfo.CombineLatest(showCreatorInfo, (release, creator) => !(release && creator))
showReleaseInfo.CombineLatest(showCreatorInfo, (release, creator) => !(release || creator))
.Select(x => x)
.ToPropertyEx(this, vm => vm.ShowTitleOnly);

Expand Down

0 comments on commit 743a29f

Please sign in to comment.