File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
src/main/java/com/brentpanther/bitcoinwidget/ui/settings
fastlane/metadata/android/en-US/changelogs Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ android {
1212 applicationId " com.brentpanther.bitcoinwidget"
1313 minSdk 23
1414 targetSdk 33
15- versionCode 316
16- versionName " 8.3.6 "
15+ versionCode 317
16+ versionName " 8.3.7 "
1717
1818 javaCompileOptions {
1919 annotationProcessorOptions {
Original file line number Diff line number Diff line change 11package com.brentpanther.bitcoinwidget.ui.settings
22
33import android.app.Activity
4- import android.app.Activity.RESULT_OK
4+ import android.appwidget.AppWidgetManager
5+ import android.content.Intent
56import android.graphics.Typeface
67import androidx.compose.foundation.layout.*
78import androidx.compose.foundation.rememberScrollState
@@ -85,9 +86,10 @@ fun BaseSettingsScreen(
8586 navController.navigateUp()
8687 } else {
8788 (context as Activity ).apply {
88- setResult( RESULT_OK )
89- WidgetProvider .refreshWidgets( this )
89+ val resultIntent = Intent ().putExtra( AppWidgetManager . EXTRA_APPWIDGET_ID , widgetId )
90+ setResult( Activity . RESULT_OK , resultIntent )
9091 finish()
92+ WidgetProvider .refreshWidgets(this )
9193 }
9294 }
9395 },
Original file line number Diff line number Diff line change 1+ Fix an issue preventing the widget from being created on certain devices.
You can’t perform that action at this time.
0 commit comments