修复应用后台后点击应用新建页面的问题

This commit is contained in:
sonichy 2024-06-03 11:59:09 +08:00
parent 1384aa0307
commit b137252a00
2 changed files with 2 additions and 2 deletions

BIN
app.apk

Binary file not shown.

View File

@ -1584,7 +1584,7 @@ public class MainActivity extends Activity {
if (urln.contains("\n"))
urln = urln.substring(urln.indexOf("\n") + 1);
newWindow(urln);
} else {
} else if (list_webView.size() == 0){
String surl = sharedPreferences.getString("homepage", "file:///android_asset/home.htm");
if (surl.equals(""))
surl = "file:///android_asset/home.htm";