Skip to content

Commit 6787342

Browse files
BornToBeRootclaude
andcommitted
Chore: Settings (Language): Flag image without BitmapImage binding
The flag was a BitmapImage with a binding on UriSource. The BitmapImage is no element, its binding has nothing to resolve against and was logged as XAML binding error. Image.Source is bound to the Uri directly (WPF converts it to an image). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 0884093 commit 6787342

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎Source/NETworkManager/Views/SettingsLanguageView.xaml‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,7 @@
4444
<ColumnDefinition Width="Auto" />
4545
</Grid.ColumnDefinitions>
4646
<Image Grid.Column="0" Width="Auto" Height="48" HorizontalAlignment="Center"
47-
VerticalAlignment="Center">
48-
<Image.Source>
49-
<BitmapImage UriSource="{Binding FlagUri}" />
50-
</Image.Source>
51-
</Image>
47+
VerticalAlignment="Center" Source="{Binding FlagUri}" />
5248
<Grid Grid.Column="1" Margin="10,5,0,5">
5349
<Grid.RowDefinitions>
5450
<RowDefinition Height="Auto" />

0 commit comments

Comments
 (0)