lmw
2025-04-24 718f31c92e2029d05260810435a2c70cef6e6ce5
app/src/main/java/com/sinata/xqmuse/network/entity/Dynamic.kt
@@ -22,17 +22,4 @@
    val video: String,
    var isExpand:Boolean = false,
    var isMine:Boolean = false
){
    fun getLevelRes():Int{
        val i = if (clockIn.isNullOrEmpty()) 0 else clockIn.toInt()
         return when(i){
            in 0..9-> R.mipmap.xinren
            in 10..29-> R.mipmap.qingtong
            in 30..59-> R.mipmap.baiyin
            in 60..89-> R.mipmap.huangjin
            in 90..119-> R.mipmap.zuanshi
            in 120..239-> R.mipmap.dashi
            else -> R.mipmap.wangzhe
        }
    }
}
)