diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/filter/FilterBottomSheet.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/filter/FilterBottomSheet.kt
index a3974b7dee..d61e765df5 100644
--- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/filter/FilterBottomSheet.kt
+++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/filter/FilterBottomSheet.kt
@@ -114,8 +114,8 @@ class FilterBottomSheet @JvmOverloads constructor(context: Context, attrs: Attri
if (context.resources.configuration.orientation == Configuration.ORIENTATION_LANDSCAPE) {
second_layout.removeView(view_options)
second_layout.removeView(reorder_filters)
- first_layout.addView(view_options)
first_layout.addView(reorder_filters)
+ first_layout.addView(view_options)
second_layout.gone()
}
@@ -412,24 +412,6 @@ class FilterBottomSheet @JvmOverloads constructor(context: Context, attrs: Attri
}?.set(index + 1)
onGroupClicked(ACTION_FILTER)
}
- if (view == unread) {
- if (index >= 0) {
- filter_layout.removeView(unreadProgress)
- filterItems.remove(unreadProgress)
- } else {
- filter_layout.addView(unreadProgress, indexOf(unreadProgress) + addForClear())
- filterItems.add(indexOf(unreadProgress), unreadProgress)
- }
- } else if (view == unreadProgress) {
- if (index >= 0) {
- filter_layout.removeView(unread)
- filterItems.remove(unread)
- } else {
- filter_layout.addView(unread, indexOf(unread) + addForClear())
- filterItems.add(indexOf(unread), unread)
- }
- }
-
if (tracked?.isActivated == true && trackers != null && trackers?.parent == null) {
filter_layout.addView(trackers, filterItems.indexOf(tracked!!) + 1)
filterItems.add(filterItems.indexOf(tracked!!) + 1, trackers!!)
diff --git a/app/src/main/res/layout/filter_bottom_sheet.xml b/app/src/main/res/layout/filter_bottom_sheet.xml
index f9a9154a77..595b98ea81 100644
--- a/app/src/main/res/layout/filter_bottom_sheet.xml
+++ b/app/src/main/res/layout/filter_bottom_sheet.xml
@@ -93,30 +93,31 @@
android:id="@+id/second_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginStart="10dp"
android:orientation="horizontal">
-
-
+
+