http://git.chat98.i2p/chat98/chat98/commit/358aa6038cb79ae451a8d6d1fae44ba32ac77741?files=src/main/kotlin/i2p/chat98/util
MAGENTA , Color . ORANGE , Color . YELLOW , Color . RED , PURPLE , DARK _GREEN , SKY _BLUE , OLIVE _DRAB , BEKAH _PURPLE , SALMON , PHTHALO _BLUE , PISTACHIO ) fun getFromBuddyB64 ( buddyB64 : String ) : Color { val firstByteInt = abs ( Base64 . decode ( buddyB64 ) [ 0 ] . toInt ( ) ) val index = firstByteInt % CHAT_COLORS . size return CHAT _COLORS [ index ] } } } 31 src/main/kotlin/i2p/chat98/util/DialogUtils.kt Normal file Unescape Escape View file @ -0,0 +1,31 @@ package...