fix(wpf): add missed settings UI

This commit is contained in:
genteure 2023-07-20 18:57:04 +08:00
parent 5da87a008f
commit 0c30c49ebb

View File

@ -66,6 +66,10 @@
</StackPanel>
</GroupBox>
<GroupBox Header="弹幕服务器">
<ui:SimpleStackPanel>
<c:SettingWithDefault IsSettingNotUsingDefault="{Binding HasDanmakuAuthenticateWithStreamerUid}">
<ui:ToggleSwitch IsOn="{Binding DanmakuAuthenticateWithStreamerUid}" OnContent="连接弹幕服务器时使用主播 UID 认证" OffContent="连接弹幕服务器时使用主播 UID 认证"/>
</c:SettingWithDefault>
<c:SettingWithDefault IsSettingNotUsingDefault="{Binding HasDanmakuTransport}" Header="弹幕服务器传输协议">
<StackPanel>
<RadioButton GroupName="DanmakuTransport" Content="随机"
@ -82,6 +86,7 @@
ConverterParameter={x:Static config:DanmakuTransportMode.Wss}}" />
</StackPanel>
</c:SettingWithDefault>
</ui:SimpleStackPanel>
</GroupBox>
<GroupBox Header="录制">
<ui:SimpleStackPanel Spacing="10">