mirror of
https://github.com/ankitects/anki.git
synced 2026-01-17 15:59:03 -05:00
Run ./check and make it happy
This commit is contained in:
parent
17e6541f76
commit
b5099989df
1 changed files with 4 additions and 2 deletions
|
|
@ -224,7 +224,7 @@ export function renderButtons(
|
|||
const correctStr = tr.statisticsHoursCorrect(totalCorrect(d.group));
|
||||
const correctStrInfo = tr.statisticsHoursCorrectInfo();
|
||||
const pressedStr = `${timesPressed}: ${totalPressedStr(d)}`;
|
||||
|
||||
|
||||
let buttonText: string;
|
||||
if (d.buttonNum === 1) {
|
||||
buttonText = tr.studyingAgain();
|
||||
|
|
@ -234,8 +234,10 @@ export function renderButtons(
|
|||
buttonText = tr.studyingGood();
|
||||
} else if (d.buttonNum === 4) {
|
||||
buttonText = tr.studyingEasy();
|
||||
} else {
|
||||
buttonText = "";
|
||||
}
|
||||
|
||||
|
||||
return `${button}: ${d.buttonNum} (${buttonText})<br>${pressedStr}<br>${correctStr} ${correctStrInfo}`;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue