Bugfix: Don't show empty page on app startup
This commit is contained in:
@@ -418,7 +418,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
webView.setVisibility(View.VISIBLE);
|
||||
|
||||
// if WebView is shown the first time, go to start page
|
||||
if (!previousVisible) {
|
||||
if (!previousVisible || webView.getUrl() == null) {
|
||||
loadUrl(SERVER_BASE_URL);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user