Skip to content

Commit

Permalink
Fixed an issue where widgets would not respond properly to dark theme…
Browse files Browse the repository at this point in the history
… changes.
  • Loading branch information
hwki committed Jan 21, 2024
1 parent 6fbbda8 commit 75e82fc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bitcoin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ android {
applicationId "com.brentpanther.bitcoinwidget"
minSdk 23
targetSdk 34
versionCode 326
versionName "8.5.1"
versionCode 327
versionName "8.5.2"

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ open class WidgetProvider : AppWidgetProvider() {

override fun onAppWidgetOptionsChanged(context: Context, appWidgetManager: AppWidgetManager,
appWidgetId: Int, newOptions: Bundle) {
refreshWidgets(context, appWidgetId)
WidgetUpdater.updateDisplays(context)
}

override fun onUpdate(context: Context, appWidgetManager: AppWidgetManager, appWidgetIds: IntArray) {
WidgetUpdater.updateDisplays(context)
}

override fun onDeleted(context: Context, widgetIds: IntArray) {
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/327.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed an issue where widgets would not respond properly to dark theme changes.

0 comments on commit 75e82fc

Please sign in to comment.