From 0bdbbdc4a3a6117ed63d424ed8a074c0bba9f92a Mon Sep 17 00:00:00 2001 From: Prem Nirmal Date: Thu, 21 Oct 2021 12:43:24 +0100 Subject: [PATCH] Fix widget width #248 --- .../kotlin/com/github/premnirmal/ticker/widget/StockWidget.kt | 2 +- app/version.properties | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 3ebfcbfa..26a494e3 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 @@ -113,7 +113,7 @@ class StockWidget : AppWidgetProvider() { 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 > 150 -> RemoteViews(context.packageName, R.layout.widget_2x1) + 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 409b661a..582e651e 100644 --- a/app/version.properties +++ b/app/version.properties @@ -1,2 +1,2 @@ -versionName=3.9.756 -versionCode=300900756 \ No newline at end of file +versionName=3.9.757 +versionCode=300900757 \ No newline at end of file