Skip to content

Commit

Permalink
For mozilla-mobile#9751 - Removes the Bookmark -> Browser action
Browse files Browse the repository at this point in the history
  • Loading branch information
boek committed Apr 8, 2020
1 parent 2a930d4 commit 6e60ddd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/org/mozilla/fenix/HomeActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ open class HomeActivity : LocaleAwareAppCompatActivity() {
BrowserDirection.FromSettings ->
SettingsFragmentDirections.actionGlobalBrowser(customTabSessionId)
BrowserDirection.FromBookmarks ->
BookmarkFragmentDirections.actionBookmarkFragmentToBrowserFragment(customTabSessionId)
BookmarkFragmentDirections.actionGlobalBrowser(customTabSessionId)
BrowserDirection.FromHistory ->
HistoryFragmentDirections.actionGlobalBrowser(customTabSessionId)
BrowserDirection.FromExceptions ->
Expand Down
4 changes: 0 additions & 4 deletions app/src/main/res/navigation/nav_graph.xml
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,6 @@
<argument
android:name="currentRoot"
app:argType="string" />
<action
android:id="@+id/action_bookmarkFragment_to_browserFragment"
app:destination="@id/browserFragment"
app:popUpToInclusive="true"/>
<action
android:id="@+id/action_bookmarkFragment_self"
app:destination="@id/bookmarkFragment" />
Expand Down

0 comments on commit 6e60ddd

Please sign in to comment.