perf: 开始唤醒任务未设置账号切换时, 禁用手动切换按钮

This commit is contained in:
status102
2026-01-19 13:31:16 +08:00
parent 753caf3cde
commit c295873a02

View File

@@ -50,7 +50,8 @@
hc:BorderElement.CornerRadius="0,4,4,0"
BorderThickness="0,1,1,1"
Command="{s:Action AccountSwitchManualRun}"
Content="{DynamicResource AccountSwitchManualRun}" />
Content="{DynamicResource AccountSwitchManualRun}"
IsEnabled="{c:Binding 'AccountName != ""'}" />
</Grid>
<CheckBox