Bugfix: Don't go back to start page after App restore
This commit is contained in:
@@ -414,7 +414,7 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
boolean webViewVisible = !hostUnconfiguredHintVisible && !repositoryEmptyHintVisible;
|
boolean webViewVisible = !hostUnconfiguredHintVisible && !repositoryEmptyHintVisible;
|
||||||
if (webViewVisible) {
|
if (webViewVisible) {
|
||||||
searchArea.setVisibility(View.VISIBLE);
|
searchArea.setVisibility(View.VISIBLE);
|
||||||
boolean previousVisible = (webView.getVisibility() == View.INVISIBLE);
|
boolean previousVisible = (webView.getVisibility() == View.VISIBLE);
|
||||||
webView.setVisibility(View.VISIBLE);
|
webView.setVisibility(View.VISIBLE);
|
||||||
|
|
||||||
// if WebView is shown the first time, go to start page
|
// if WebView is shown the first time, go to start page
|
||||||
|
|||||||
Reference in New Issue
Block a user