mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-02 03:40:16 +00:00
For #1698 - Removes unimplemented library sections for the beta
This commit is contained in:
parent
2df1344b3c
commit
29f83a0c0f
@ -55,19 +55,6 @@ class LibraryFragment : Fragment() {
|
|||||||
LibraryFragmentDirections.actionLibraryFragmentToBookmarksFragment(BookmarkRoot.Root.id).actionId,
|
LibraryFragmentDirections.actionLibraryFragmentToBookmarksFragment(BookmarkRoot.Root.id).actionId,
|
||||||
BookmarkFragmentArgs(BookmarkRoot.Root.id).toBundle()
|
BookmarkFragmentArgs(BookmarkRoot.Root.id).toBundle()
|
||||||
))
|
))
|
||||||
|
|
||||||
libraryDownloads.setOnClickListener {
|
|
||||||
ItsNotBrokenSnack(context!!).showSnackbar(issueNumber = "348")
|
|
||||||
}
|
|
||||||
libraryScreenshots.setOnClickListener {
|
|
||||||
ItsNotBrokenSnack(context!!).showSnackbar(issueNumber = "89")
|
|
||||||
}
|
|
||||||
libraryReadingList.setOnClickListener {
|
|
||||||
ItsNotBrokenSnack(context!!).showSnackbar(issueNumber = "913")
|
|
||||||
}
|
|
||||||
librarySessions.setOnClickListener {
|
|
||||||
ItsNotBrokenSnack(context!!).showSnackbar(issueNumber = "637")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
|
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
|
||||||
|
@ -13,39 +13,6 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
tools:context="org.mozilla.fenix.library.LibraryFragment">
|
tools:context="org.mozilla.fenix.library.LibraryFragment">
|
||||||
|
|
||||||
<org.mozilla.fenix.library.LibraryListItem
|
|
||||||
android:id="@+id/librarySessions"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:background="?android:attr/selectableItemBackground"
|
|
||||||
android:clickable="true"
|
|
||||||
android:contentDescription="@string/library_sessions"
|
|
||||||
android:focusable="true"
|
|
||||||
app:listItemIcon="@drawable/library_icon_sessions_circle_background"
|
|
||||||
app:listItemTitle="@string/library_sessions" />
|
|
||||||
|
|
||||||
<org.mozilla.fenix.library.LibraryListItem
|
|
||||||
android:id="@+id/libraryScreenshots"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:background="?android:attr/selectableItemBackground"
|
|
||||||
android:clickable="true"
|
|
||||||
android:contentDescription="@string/library_screenshots"
|
|
||||||
android:focusable="true"
|
|
||||||
app:listItemIcon="@drawable/library_icon_screenshots_circle_background"
|
|
||||||
app:listItemTitle="@string/library_screenshots" />
|
|
||||||
|
|
||||||
<org.mozilla.fenix.library.LibraryListItem
|
|
||||||
android:id="@+id/libraryDownloads"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:background="?android:attr/selectableItemBackground"
|
|
||||||
android:clickable="true"
|
|
||||||
android:contentDescription="@string/library_downloads"
|
|
||||||
android:focusable="true"
|
|
||||||
app:listItemIcon="@drawable/library_icon_downloads_circle_background"
|
|
||||||
app:listItemTitle="@string/library_downloads" />
|
|
||||||
|
|
||||||
<org.mozilla.fenix.library.LibraryListItem
|
<org.mozilla.fenix.library.LibraryListItem
|
||||||
android:id="@+id/libraryBookmarks"
|
android:id="@+id/libraryBookmarks"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -57,17 +24,6 @@
|
|||||||
app:listItemIcon="@drawable/library_icon_bookmarks_circle_background"
|
app:listItemIcon="@drawable/library_icon_bookmarks_circle_background"
|
||||||
app:listItemTitle="@string/library_bookmarks" />
|
app:listItemTitle="@string/library_bookmarks" />
|
||||||
|
|
||||||
<org.mozilla.fenix.library.LibraryListItem
|
|
||||||
android:id="@+id/libraryReadingList"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:background="?android:attr/selectableItemBackground"
|
|
||||||
android:clickable="true"
|
|
||||||
android:contentDescription="@string/library_reading_list"
|
|
||||||
android:focusable="true"
|
|
||||||
app:listItemIcon="@drawable/library_icon_reading_list_circle_background"
|
|
||||||
app:listItemTitle="@string/library_reading_list" />
|
|
||||||
|
|
||||||
<org.mozilla.fenix.library.LibraryListItem
|
<org.mozilla.fenix.library.LibraryListItem
|
||||||
android:id="@+id/libraryHistory"
|
android:id="@+id/libraryHistory"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user