diff --git a/app/src/main/kotlin/com/github/premnirmal/ticker/widget/StockWidget.kt b/app/src/main/kotlin/com/github/premnirmal/ticker/widget/StockWidget.kt index 26a494e3..d8faa77f 100644 --- a/app/src/main/kotlin/com/github/premnirmal/ticker/widget/StockWidget.kt +++ b/app/src/main/kotlin/com/github/premnirmal/ticker/widget/StockWidget.kt @@ -110,9 +110,9 @@ class StockWidget : AppWidgetProvider() { appWidgetId: Int ): RemoteViews = when { widgetDataProvider.dataForWidgetId(appWidgetId).widgetSizePref() == 1 -> RemoteViews(context.packageName, R.layout.widget_1x1) - min_width > 750 -> RemoteViews(context.packageName, R.layout.widget_5x1) - min_width > 550 -> RemoteViews(context.packageName, R.layout.widget_4x1) - min_width > 425 -> RemoteViews(context.packageName, R.layout.widget_3x1) + min_width > 850 -> RemoteViews(context.packageName, R.layout.widget_5x1) + min_width > 750 -> RemoteViews(context.packageName, R.layout.widget_4x1) + min_width > 500 -> RemoteViews(context.packageName, R.layout.widget_3x1) min_width > 250 -> RemoteViews(context.packageName, R.layout.widget_2x1) else -> RemoteViews(context.packageName, R.layout.widget_1x1) } diff --git a/app/version.properties b/app/version.properties index 582e651e..b2fcf8b5 100644 --- a/app/version.properties +++ b/app/version.properties @@ -1,2 +1,2 @@ -versionName=3.9.757 -versionCode=300900757 \ No newline at end of file +versionName=3.9.758 +versionCode=300900758 \ No newline at end of file