Skip to content

Commit 833ffa5

Browse files
committed
fix: cast selection
1 parent 3422aed commit 833ffa5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

KotoKanade.UI/Views/Settings/SettingTalkVoice.axaml

+3-5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
xmlns:sty="using:FluentAvalonia.Styling"
1010
xmlns:ui="using:FluentAvalonia.UI.Controls"
1111
xmlns:uip="using:FluentAvalonia.UI.Controls.Primitives"
12+
xmlns:ccs="using:CevioCasts"
1213
x:DataType="viewmodels:MainViewModel"
1314
x:Class="KotoKanade.Views.SettingTalkVoice">
1415

@@ -35,12 +36,9 @@
3536
IsTextSearchEnabled="True"
3637
MinWidth="200"
3738
SelectedIndex="{Binding $parent[UserControl;2].((viewmodels:MainViewModel)DataContext).SelectedCastIndex}"
39+
ItemsSource="{Binding $parent[UserControl;2].((viewmodels:MainViewModel)DataContext).TalkCasts}"
40+
DisplayMemberBinding="{Binding Names[0].Display,DataType=ccs:Cast}"
3841
>
39-
<ui:FAComboBoxItem Content="田中傘" />
40-
<ui:FAComboBoxItem Content="さとうささら" />
41-
<ui:FAComboBoxItem Content="すずきつづみ" />
42-
<ui:FAComboBoxItem Content="タカハシ" />
43-
<ui:FAComboBoxItem Content="双葉湊音" />
4442
</ui:FAComboBox>
4543
</StackPanel>
4644
</ui:SettingsExpander.Footer>

0 commit comments

Comments
 (0)