Created
February 5, 2020 15:35
-
-
Save Nublo/f727c1388339f4c3a0b9defe3bdd0493 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun BadgeEnvelope(count: Int) { | |
Envelope(fire = count > 99, paper = count > 0) { | |
if (count > 0) { | |
Badge(text = "$count") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment