0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00

Merge pull request #4022 from hssm/gesture-mark-refresh

Fix mark card with gesture not updating action bar
This commit is contained in:
Tim Rae 2015-12-28 07:06:23 +09:00
commit f42de64a9c
2 changed files with 1 additions and 2 deletions

View File

@ -2702,5 +2702,6 @@ public abstract class AbstractFlashcardViewer extends NavigationDrawerActivity {
note.addTag("marked");
}
note.flush();
refreshActionBar();
}
}

View File

@ -120,7 +120,6 @@ public class Reviewer extends AbstractFlashcardViewer {
case R.id.action_mark_card:
Timber.i("Reviewer:: Mark button pressed");
onMark(mCurrentCard);
refreshActionBar();
break;
case R.id.action_replay:
@ -291,7 +290,6 @@ public class Reviewer extends AbstractFlashcardViewer {
}
if (keyPressed == '*') {
onMark(mCurrentCard);
refreshActionBar();
return true;
}
if (keyPressed == '-') {