Skip to content

Commit

Permalink
v1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
sofakingforever committed Oct 14, 2018
1 parent b2b66e6 commit 82b0e3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions stars/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
}
}

def versionNameStr = "1.0.4"
def versionNameStr = "1.0.5"

android {
compileSdkVersion 28
Expand All @@ -23,7 +23,7 @@ android {
defaultConfig {
minSdkVersion 21
targetSdkVersion 28
versionCode 104
versionCode 105
versionName versionNameStr

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ constructor(
starConstraints = Star.StarConstraints(minStarSize, maxStarSize, bigStarThreshold)

meteoritesColors = intArrayOf()
meteoritesEnabled = array.getBoolean(R.styleable.AnimatedStarsView_starsView_meteoritesEnabled, true)
meteoritesEnabled = array.getBoolean(R.styleable.AnimatedStarsView_starsView_meteoritesEnabled, false)
meteoritesInterval = array.getInt(R.styleable.AnimatedStarsView_starsView_meteoritesInterval, 5000)

val starColorsArrayId = array.getResourceId(R.styleable.AnimatedStarsView_starsView_starColors, 0)
Expand Down Expand Up @@ -185,7 +185,7 @@ constructor(
meteorEntity = MeteorEntity(starConstraints = starConstraints,
x = viewWidth,
y = Math.round(Math.random() * viewHeight).toInt(),
color = meteoritesColors[random.nextInt(starColors.size)],
color = meteoritesColors[random.nextInt(meteoritesColors.size)],
viewWidth = viewWidth,
viewHeight = viewHeight,
colorListener = generateColor,
Expand Down

0 comments on commit 82b0e3a

Please sign in to comment.