Dola TENG 2 years ago
parent
commit
78b8e70d51

+ 1 - 1
app/src/main/java/com/khmer9/wa855main/screen/main/MainFragment.kt

@@ -150,7 +150,7 @@ class MainFragment : BaseFragment(R.layout.layout_fragment_main_yuki) {
                             Config.CARD_APP_ID -> {
                                 doDownload(Config.CARD_DOWNLOAD, it.tokenData?.token)
                             }
-                            Config.YUKI_APP_ID -> {
+                            Config.Yuki_Live_APP_ID -> {
                                 //doDownload(Config.CARD_DOWNLOAD, it.tokenData?.token)
                             }
                         }

+ 8 - 0
app/src/main/java/com/khmer9/wa855main/screen/main/MainModuleViewHolder.kt

@@ -175,6 +175,14 @@ class MainModuleViewHolder(itemView: View, private val detailButtonListener: ((S
 
                         backgroundModule.setBackgroundResource(R.drawable.bg11)
                     }
+                    Config.Yuki_Live_APP_NAME.trim().toLowerCase() -> {
+                        picasso
+                            .load(R.drawable.ic_dragontiger)
+                            .placeholder(R.drawable.ic_dragontiger)
+                            .into(imgIcon)
+
+                        backgroundModule.setBackgroundResource(R.drawable.yukibg)
+                    }
                     else -> {
                         picasso
                             .load(item.smallIcon)

+ 3 - 0
app/src/main/java/com/khmer9/wa855main/screen/main/SubModuleFragment.kt

@@ -157,6 +157,9 @@ class SubModuleFragment : BaseFragment(R.layout.layout_sub_module) {
                                 }
                             }
                         }
+                        Config.Yuki_Live_APP_ID -> {
+
+                        }
                     }
                 }
             }

BIN
app/src/main/res/drawable/ic_dragontiger.png