mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Relax desired retention warning from 0.85 to 0.8
This commit is contained in:
parent
8ec97ddbde
commit
453c396216
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
function getRetentionWarningClass(retention: number): string {
|
function getRetentionWarningClass(retention: number): string {
|
||||||
if (retention < 0.7 || retention > 0.97) {
|
if (retention < 0.7 || retention > 0.97) {
|
||||||
return "alert-danger";
|
return "alert-danger";
|
||||||
} else if (retention < 0.85 || retention > 0.95) {
|
} else if (retention < 0.8 || retention > 0.95) {
|
||||||
return "alert-warning";
|
return "alert-warning";
|
||||||
} else {
|
} else {
|
||||||
return "alert-info";
|
return "alert-info";
|
||||||
|
|
Loading…
Reference in a new issue