(Maybe) fix bug with singlenotewidget

This commit is contained in:
Christoph Loy 2020-03-02 16:57:04 +01:00
parent 592a8469ac
commit 82868d7585
No known key found for this signature in database
GPG key ID: 9179970615A6E7C9

View file

@ -103,7 +103,6 @@ public class SingleNoteWidgetFactory implements RemoteViewsService.RemoteViewsFa
extras.putLong(EditNoteActivity.PARAM_NOTE_ID, note.getId());
extras.putLong(EditNoteActivity.PARAM_ACCOUNT_ID, note.getAccountId());
fillInIntent.putExtras(extras);
fillInIntent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
if (darkModeActive) {
note_content = new RemoteViews(context.getPackageName(), R.layout.widget_single_note_content_dark);
note_content.setOnClickFillInIntent(R.id.single_note_content_tv_dark, fillInIntent);