Browse Source

BrowserActivity: close drawers on back/forward btns

and update italian translations
master
Andrei Conache 8 years ago
parent
commit
b6a4b10a81
  1. 2
      app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java
  2. 1
      app/src/main/res/values-it/strings.xml

2
app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

@ -1884,6 +1884,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements @@ -1884,6 +1884,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
if (currentTab != null) {
if (currentTab.canGoBack()) {
currentTab.goBack();
closeDrawers(null);
} else {
mPresenter.deleteTab(mTabsManager.positionOf(currentTab));
}
@ -1896,6 +1897,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements @@ -1896,6 +1897,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
if (currentTab != null) {
if (currentTab.canGoForward()) {
currentTab.goForward();
closeDrawers(null);
}
}
}

1
app/src/main/res/values-it/strings.xml

@ -220,6 +220,7 @@ @@ -220,6 +220,7 @@
<string name="action_add_to_homescreen">Aggiungi a schermata Home</string>
<string name="message_added_to_homescreen">Scorciatoia aggiunta</string>
<string name="action_delete_all_bookmarks">Cancella tutti i segnalibri</string>
<string name="swap_bookmarks_and_tabs">Inverti pannello segnalibri con schede</string>
<string name="faq">FAQ</string>
<string name="faq_description">Domande più frequenti</string>

Loading…
Cancel
Save