Skip to content

Commit a81ae73

Browse files
authored
Merge branch 'main' into tech/version-bump
2 parents ae1f5a9 + 17cfd66 commit a81ae73

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

androidApp/main/app/src/main/java/com/simplecityapps/shuttle/ui/common/view/SnowfallView.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ class SnowfallView(context: Context?, attrs: AttributeSet?) : View(context, attr
137137

138138
companion object {
139139

140-
/** Forecast a <= 1% chance of snowing */
141-
private const val LUCKY = 0.01f
140+
/** Forecast a <= 5% chance of snowing */
141+
private const val LUCKY = 0.05f
142142

143143
/** The total number of snowflakes to generate */
144144
private const val TOTAL_FLAKES = 200

androidApp/main/app/src/main/res/layout/activity_main.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
android:layout_height="match_parent"
1414
app:defaultNavHost="true" />
1515

16+
<com.simplecityapps.shuttle.ui.common.view.SnowfallView
17+
android:layout_width="match_parent"
18+
android:layout_height="match_parent" />
19+
1620
<com.simplecityapps.shuttle.ui.common.view.KeylineView
1721
android:layout_width="match_parent"
1822
android:layout_height="match_parent"

0 commit comments

Comments
 (0)