https://kotlinlang.org logo
n

nglauber

12/02/2019, 10:57 PM
Is there a better way to do this?
Copy code
Text(
    text = "H4 Primary!",
    style = +themeTextStyle {
        h4.copy(
            color = +themeColor { 
                primary 
            }
        )
    }
)
l

Louis Pullen-Freilich [G]

12/02/2019, 11:12 PM
Right now, unfortunately not, although there is room for improvement here for sure.
🙏 1
2 Views