Commit 6d24db03 authored by wanglei's avatar wanglei

...

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