Fix mute tip (#2830)

This commit is contained in:
the1812 2022-03-20 10:20:15 +08:00
parent 628427be02
commit 42b67b9585

View File

@ -112,7 +112,7 @@ export const builtInActions: Record<string, KeyBindingAction> = {
if (lodash.isNil(result)) {
return result
}
if (result) {
if (playerAgent.isMute()) {
showTip('已静音', 'mdi-volume-off')
} else {
showTip('已取消静音', 'mdi-volume-high')