Skip to content

Commit

Permalink
Fix default null values
Browse files Browse the repository at this point in the history
  • Loading branch information
chkr1011 committed Nov 1, 2023
1 parent 5577e4d commit 70e5c83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Pages/TopicExplorer/TopicExplorerItemView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@

<!-- Message details -->
<inflight:InflightPageItemView Grid.Row="3"
DataContext="{Binding SelectedMessage.InflightItem, FallbackValue=null}" />
DataContext="{Binding SelectedMessage.InflightItem, FallbackValue={x:Null}}" />
</Grid>


Expand Down
4 changes: 2 additions & 2 deletions Source/Pages/TopicExplorer/TopicExplorerPageView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@

<!-- No data overlay -->
<Grid VerticalAlignment="Stretch"
IsVisible="{Binding ElementName=PART_Items, Path=SelectedItem.Item, Converter={x:Static converters:ObjectConverter.IsNull}, FallbackValue=null}"
IsVisible="{Binding ElementName=PART_Items, Path=SelectedItem.Item, Converter={x:Static converters:ObjectConverter.IsNull}, FallbackValue={x:Null}}"
HorizontalAlignment="Stretch">
<StackPanel HorizontalAlignment="Center"
VerticalAlignment="Center">
Expand All @@ -134,7 +134,7 @@
</StackPanel>
</Grid>

<ContentPresenter Content="{Binding ElementName=PART_Items, Path=SelectedItem.Item, FallbackValue=null}" />
<ContentPresenter Content="{Binding ElementName=PART_Items, Path=SelectedItem.Item, FallbackValue={x:Null}}" />
</Grid>
</Grid>

Expand Down

0 comments on commit 70e5c83

Please sign in to comment.