Skip to content

Commit

Permalink
Remove manual broadcasts for DeckPickerWidget and CardAnalysisWidget
Browse files Browse the repository at this point in the history
The widgets are updated after the UIs are built asynchronously.
  • Loading branch information
lukstbit authored and david-allison committed Oct 1, 2024
1 parent 11e1a60 commit 44717b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,6 @@ class CardAnalysisWidgetConfig : AnkiActivity(), DeckSelectionListener, BaseSnac

val resultValue = Intent().putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId)
setResult(RESULT_OK, resultValue)

sendBroadcast(Intent(this, CardAnalysisWidget::class.java))

finish()
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,6 @@ class DeckPickerWidgetConfig : AnkiActivity(), DeckSelectionListener, BaseSnackb

val resultValue = Intent().putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId)
setResult(RESULT_OK, resultValue)

sendBroadcast(Intent(this, DeckPickerWidget::class.java))

finish()
}

Expand Down

0 comments on commit 44717b9

Please sign in to comment.