Skip to content

Commit

Permalink
update widget and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
domjos1994 committed Sep 8, 2018
1 parent 7628888 commit 383201d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void onClick(View v) {
ToDoList toDoList = adapter.getItem(cmbToDoLists.getSelectedItemPosition());

if(toDoList!=null) {
getSettings(toDoList.getID(), chkToDoNotSolved.isSelected());
getSettings(toDoList.getID(), chkToDoNotSolved.isChecked());
}
}
});
Expand Down Expand Up @@ -81,7 +81,7 @@ private void getSettings(int id, boolean solved) {
this.saveSettings(id, solved);

AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(this.getApplicationContext());
TimeTableWidget.updateAppWidget(this.getApplicationContext(), appWidgetManager, this.appWidgetID);
ToDoWidget.updateAppWidget(this.getApplicationContext(), appWidgetManager, this.appWidgetID);

Intent resultValue = new Intent(getApplicationContext(), ToDoWidget.class);
resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, this.appWidgetID);
Expand Down

0 comments on commit 383201d

Please sign in to comment.