fix
lmw
2025-03-04 449bdb5d2b5bf7b272ca5cda4c066f9a65040064
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
        }
    }
}
)