Skip to content

Commit

Permalink
fixed (#428)
Browse files Browse the repository at this point in the history
修复了语音代码冒号与数字顺序错误的bug
  • Loading branch information
Aated authored Dec 9, 2024
1 parent c76d729 commit 7e895ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Fk/Pages/GeneralsOverview.qml
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ Item {

onPressAndHold: {
Backend.copyToClipboard('$' + name + (specific ? '_' + detailGeneralCard.name : "")
+ (idx ? idx.toString() : "") + ':');
+ ':' + (idx ? idx.toString() : "") );
toast.show(luatr("Audio Code Copy Success"));
}

Expand All @@ -440,7 +440,7 @@ Item {
text: luatr("Copy Audio Code")
onTriggered: {
Backend.copyToClipboard('$' + name + (specific ? '_' + detailGeneralCard.name : "")
+ (idx ? idx.toString() : "") + ':');
+ ':' + (idx ? idx.toString() : ""));
toast.show(luatr("Audio Code Copy Success"));
}
}
Expand Down

0 comments on commit 7e895ea

Please sign in to comment.