0
0
mirror of https://github.com/sp-tarkov/launcher.git synced 2025-02-12 22:10:44 -05:00

Fix display of mods

This commit is contained in:
Krinkels 2024-01-29 12:17:07 +03:00
parent 2b020c53a5
commit d6562c7920
2 changed files with 7 additions and 7 deletions

View File

@ -25,9 +25,9 @@
<!-- Active mods count and text --> <!-- Active mods count and text -->
<Label VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="16"> <Label VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="16">
<Label.Content> <Label.Content>
<MultiBinding StringFormat="{}{0} {1}"> <MultiBinding StringFormat="{}{0}: {1}">
<Binding Path="ModsCollection.ActiveMods.Count"/>
<Binding Source="{x:Static helpers:LocalizationProvider.Instance}" Path="active_server_mods"/> <Binding Source="{x:Static helpers:LocalizationProvider.Instance}" Path="active_server_mods"/>
<Binding Path="ModsCollection.ActiveMods.Count"/>
</MultiBinding> </MultiBinding>
</Label.Content> </Label.Content>
</Label> </Label>
@ -68,9 +68,9 @@
<!-- Inactive mods count and text --> <!-- Inactive mods count and text -->
<Label VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="16"> <Label VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="16">
<Label.Content> <Label.Content>
<MultiBinding StringFormat="{}{0} {1}"> <MultiBinding StringFormat="{}{0}: {1}">
<Binding Path="ModsCollection.InactiveMods.Count"/>
<Binding Source="{x:Static helpers:LocalizationProvider.Instance}" Path="inactive_server_mods"/> <Binding Source="{x:Static helpers:LocalizationProvider.Instance}" Path="inactive_server_mods"/>
<Binding Path="ModsCollection.InactiveMods.Count"/>
</MultiBinding> </MultiBinding>
</Label.Content> </Label.Content>
</Label> </Label>
@ -102,4 +102,4 @@
</ItemsControl> </ItemsControl>
</ScrollViewer> </ScrollViewer>
</Grid> </Grid>
</UserControl> </UserControl>

View File

@ -77,9 +77,9 @@
<!-- server mods count text --> <!-- server mods count text -->
<Label Grid.Row="1" Grid.Column="1"> <Label Grid.Row="1" Grid.Column="1">
<Label.Content> <Label.Content>
<MultiBinding StringFormat="{}{0} {1}"> <MultiBinding StringFormat="{}{0}: {1}">
<Binding Path="ModInfoCollection.ActiveMods.Count"/>
<Binding Source="{x:Static helpers:LocalizationProvider.Instance}" Path="active_server_mods"/> <Binding Source="{x:Static helpers:LocalizationProvider.Instance}" Path="active_server_mods"/>
<Binding Path="ModInfoCollection.ActiveMods.Count"/>
</MultiBinding> </MultiBinding>
</Label.Content> </Label.Content>
</Label> </Label>