Created
August 10, 2019 07:55
-
-
Save ubuntudroid/13ab748ce11a4715745f9d2d65bea4e0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// changing the color name | |
colorDao.upsert(oldColorDefinition.copy(name="better color name")) | |
// changing the color code | |
colorDao.upsert(oldColorDefinition.copy(hex="#ca9555")) | |
// changing color code and name | |
colorDao.upsert(oldColorDefinition.copy(name="better color name", hex="#ca9555")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment