Commit d99fe237 authored by sheteng's avatar sheteng

合规修改 3 小米渠道

parent f382650a
...@@ -154,7 +154,7 @@ class AcceleratorFragment : XPageFragment() { ...@@ -154,7 +154,7 @@ class AcceleratorFragment : XPageFragment() {
(binding.gamePicOut.background as AnimationDrawable).start() (binding.gamePicOut.background as AnimationDrawable).start()
binding.gamePicOut.startAnimation(getDefaultAnim()) binding.gamePicOut.startAnimation(getDefaultAnim())
} }
binding.radiusTv.visibility= if (SysUtils.getChannel() == 3) View.GONE else View.VISIBLE
} }
override fun initListeners() { override fun initListeners() {
......
...@@ -63,7 +63,7 @@ class NewsFragment : XPageFragment() { ...@@ -63,7 +63,7 @@ class NewsFragment : XPageFragment() {
openToWebviewNative("/notice?noticeId=${it1.id}") openToWebviewNative("/notice?noticeId=${it1.id}")
} }
} }
binding.newsTitle.setText(if (SysUtils.getChannel() == 3) "地下城与勇士" else "地下城与勇士 韩服")
newsViewModel.isRefresh.observe(this, Observer { newsViewModel.isRefresh.observe(this, Observer {
binding.refreshNews.isRefreshing = false binding.refreshNews.isRefreshing = false
}) })
......
...@@ -36,13 +36,13 @@ ...@@ -36,13 +36,13 @@
<TextView <TextView
android:id="@+id/news_title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@mipmap/new_top" android:background="@mipmap/new_top"
android:gravity="center" android:gravity="center"
android:paddingTop="6dp" android:paddingTop="6dp"
android:paddingBottom="16dp" android:paddingBottom="16dp"
android:text="地下城与勇士 韩服"
android:textColor="#FFFFFFFF" android:textColor="#FFFFFFFF"
android:textSize="16sp" /> android:textSize="16sp" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment