BrowserActivity: close drawers on back/forward btns
and update italian translations
This commit is contained in:
parent
2f89b5549b
commit
b6a4b10a81
@ -1884,6 +1884,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
|
|||||||
if (currentTab != null) {
|
if (currentTab != null) {
|
||||||
if (currentTab.canGoBack()) {
|
if (currentTab.canGoBack()) {
|
||||||
currentTab.goBack();
|
currentTab.goBack();
|
||||||
|
closeDrawers(null);
|
||||||
} else {
|
} else {
|
||||||
mPresenter.deleteTab(mTabsManager.positionOf(currentTab));
|
mPresenter.deleteTab(mTabsManager.positionOf(currentTab));
|
||||||
}
|
}
|
||||||
@ -1896,6 +1897,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
|
|||||||
if (currentTab != null) {
|
if (currentTab != null) {
|
||||||
if (currentTab.canGoForward()) {
|
if (currentTab.canGoForward()) {
|
||||||
currentTab.goForward();
|
currentTab.goForward();
|
||||||
|
closeDrawers(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -220,6 +220,7 @@
|
|||||||
<string name="action_add_to_homescreen">Aggiungi a schermata Home</string>
|
<string name="action_add_to_homescreen">Aggiungi a schermata Home</string>
|
||||||
<string name="message_added_to_homescreen">Scorciatoia aggiunta</string>
|
<string name="message_added_to_homescreen">Scorciatoia aggiunta</string>
|
||||||
<string name="action_delete_all_bookmarks">Cancella tutti i segnalibri</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">FAQ</string>
|
||||||
<string name="faq_description">Domande più frequenti</string>
|
<string name="faq_description">Domande più frequenti</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user