Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/WireMockInspector/Views/NewVersionInfo.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
x:Class="WireMockInspector.Views.NewVersionInfo"
x:DataType="viewModels:NewVersionInfoViewModel"
>
<StackPanel Height="75" IsVisible="{Binding IsVisible}" Margin="0,0,0,20">
<StackPanel Name="StackPanel" Height="75" IsVisible="{Binding IsVisible}" Margin="0,0,0,20">
<Border BorderBrush="#FF0000" BorderThickness="1" >
<StackPanel Orientation="Horizontal" Margin="20" VerticalAlignment="Center">
<TextBlock VerticalAlignment="Center" Text="{Binding Version, StringFormat='{} A newer version {0} is available'}"></TextBlock>
Expand Down
2 changes: 2 additions & 0 deletions src/WireMockInspector/Views/NewVersionInfo.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ public partial class NewVersionInfo : UserControl
public NewVersionInfo()
{
InitializeComponent();

this.StackPanel.IsVisible = false;
}
}
}