Commit 6d24db03 authored by wanglei's avatar wanglei

...

parent d6f17852
......@@ -43,7 +43,7 @@
android:name=".ui.activity.appprocess.AppProcessActivity"
android:exported="false" />
<activity
android:name=".ui.activity.MainActivity"
android:name=".ui.activity.splash.Splash2Activity"
android:exported="true"
android:launchMode="singleTask">
<intent-filter>
......@@ -53,7 +53,7 @@
</intent-filter>
</activity>
<activity
android:name=".ui.activity.splash.Splash2Activity"
android:name=".ui.activity.MainActivity"
android:exported="false"
android:launchMode="singleTop"
android:screenOrientation="portrait"
......
......@@ -278,8 +278,10 @@ class WebViewFragment : BaseFragment<FragmentWebViewBinding>() {
val set = hashSetOf<String>()
for (i in 0 until jsonArray.length()) {
val videoUrl = jsonArray.optString(i)
if (videoUrl.startsWith("http") || videoUrl.startsWith("https")) {
set.add(videoUrl)
}
}
if (set.size != 0) {
binding.flDownload.visibility = View.VISIBLE
binding.tvDownloadNumber.text = set.size.toString()
......
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