feat: sync guard - Blockieren alter Clients beim sync
This commit is contained in:
@@ -30,8 +30,7 @@
|
||||
<DrawerPage x:Name="RootDrawer"
|
||||
DrawerLength="220"
|
||||
DrawerBehavior="Auto"
|
||||
DrawerLayoutBehavior="CompactInline"
|
||||
Content="{Binding CurrentPage}">
|
||||
DrawerLayoutBehavior="CompactInline">
|
||||
|
||||
<DrawerPage.DataTemplates>
|
||||
<DataTemplate DataType="vm:DashboardViewModel">
|
||||
@@ -63,6 +62,26 @@
|
||||
</DataTemplate>
|
||||
</DrawerPage.DataTemplates>
|
||||
|
||||
<DrawerPage.Content>
|
||||
<DockPanel>
|
||||
<Border DockPanel.Dock="Top"
|
||||
IsVisible="{Binding SyncStatus.IsIncompatibleVersion}"
|
||||
Background="#B3261E" Padding="16,12">
|
||||
<StackPanel Orientation="Horizontal" Spacing="10">
|
||||
<TextBlock Text="⚠" FontSize="18" Foreground="White"
|
||||
VerticalAlignment="Center"/>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Software-Update erforderlich"
|
||||
Foreground="White" FontWeight="SemiBold"/>
|
||||
<TextBlock Text="{x:Static vm:SyncStatusViewModel.IncompatibleVersionMessage}"
|
||||
Foreground="White" Opacity="0.92" TextWrapping="Wrap"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<ContentControl Content="{Binding CurrentPage}"/>
|
||||
</DockPanel>
|
||||
</DrawerPage.Content>
|
||||
|
||||
<DrawerPage.Drawer>
|
||||
<DockPanel Classes.compact="{Binding !#RootDrawer.IsOpen}">
|
||||
<DockPanel.Styles>
|
||||
|
||||
Reference in New Issue
Block a user