diff options
author | Allan Wang <me@allanwang.ca> | 2019-09-28 23:46:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-28 23:46:52 -0700 |
commit | 08a0bbe6e921f411e04a13c4fdc1282cf9fb4221 (patch) | |
tree | 58dec3f2e3cd977fe99a18aef93d78d09fc4c892 /app/src/main/kotlin/com/pitchedapps/frost/intro/IntroImageFragments.kt | |
parent | eb5e83cdadc348eea8d76d6778f18850444783d1 (diff) | |
parent | b82fadbff34ced9193f7b95e0d46dda5c33e9e08 (diff) | |
download | frost-08a0bbe6e921f411e04a13c4fdc1282cf9fb4221.tar.gz frost-08a0bbe6e921f411e04a13c4fdc1282cf9fb4221.tar.bz2 frost-08a0bbe6e921f411e04a13c4fdc1282cf9fb4221.zip |
Merge pull request #1555 from AllanWang/system-flag-color
Update system flag color
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/intro/IntroImageFragments.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/intro/IntroImageFragments.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroImageFragments.kt b/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroImageFragments.kt index 4f1e5182..9a4ec0c1 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroImageFragments.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/intro/IntroImageFragments.kt @@ -27,7 +27,7 @@ import ca.allanwang.kau.utils.setIcon import ca.allanwang.kau.utils.tint import ca.allanwang.kau.utils.visible import ca.allanwang.kau.utils.withAlpha -import com.mikepenz.google_material_typeface_library.GoogleMaterial +import com.mikepenz.iconics.typeface.library.googlematerial.GoogleMaterial import com.pitchedapps.frost.R import com.pitchedapps.frost.utils.Prefs import com.pitchedapps.frost.utils.launchTabCustomizerActivity @@ -71,7 +71,7 @@ abstract class BaseImageIntroFragment( override fun onPageScrolledImpl(positionOffset: Float) { super.onPageScrolledImpl(positionOffset) val alpha = ((1 - abs(positionOffset)) * 255).toInt() - //apply alpha to all layers except the phone base + // apply alpha to all layers except the phone base (0 until imageDrawable.numberOfLayers).forEach { val d = imageDrawable.getDrawable(it) if (d != phone) d.alpha = alpha |