BrowserActivity: close drawers on back/forward btns

and update italian translations
This commit is contained in:
Andrei Conache 2016-10-27 14:57:34 +02:00
parent 2f89b5549b
commit b6a4b10a81
2 changed files with 3 additions and 0 deletions

View File

@ -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
if (currentTab != null) {
if (currentTab.canGoForward()) {
currentTab.goForward();
closeDrawers(null);
}
}
}

View File

@ -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>