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:
commit
f42de64a9c
@ -2702,5 +2702,6 @@ public abstract class AbstractFlashcardViewer extends NavigationDrawerActivity {
|
||||
note.addTag("marked");
|
||||
}
|
||||
note.flush();
|
||||
refreshActionBar();
|
||||
}
|
||||
}
|
||||
|
@ -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 == '-') {
|
||||
|
Loading…
Reference in New Issue
Block a user