diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryHeaderItem.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryHeaderItem.kt
index a120f7bfb9..b0a9ee30db 100644
--- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryHeaderItem.kt
+++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryHeaderItem.kt
@@ -34,7 +34,6 @@ import eu.kanade.tachiyomi.util.system.getResourceColor
import eu.kanade.tachiyomi.util.view.gone
import eu.kanade.tachiyomi.util.view.invisible
import eu.kanade.tachiyomi.util.view.updateLayoutParams
-import eu.kanade.tachiyomi.util.view.visInvisIf
import eu.kanade.tachiyomi.util.view.visible
import eu.kanade.tachiyomi.util.view.visibleIf
import kotlinx.android.synthetic.main.library_category_header_item.*
@@ -193,7 +192,7 @@ class LibraryHeaderItem(
expandImage.visibleIf(!adapter.isSingleCategory)
catProgress.gone()
checkboxImage.gone()
- updateButton.visInvisIf(category.id ?: 0 > -1 && !adapter.isSingleCategory)
+ updateButton.visibleIf(category.id ?: 0 > -1 && !adapter.isSingleCategory)
}
}
}
diff --git a/app/src/main/res/layout/library_category_header_item.xml b/app/src/main/res/layout/library_category_header_item.xml
index 74af273e93..1fcf936f2a 100644
--- a/app/src/main/res/layout/library_category_header_item.xml
+++ b/app/src/main/res/layout/library_category_header_item.xml
@@ -54,33 +54,6 @@
app:constraint_referenced_ids="start_space,collapse_arrow,checkbox"
/>
-
-
-
-
@@ -120,7 +93,7 @@
android:id="@+id/category_sort"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginEnd="2dp"
+ android:layout_marginEnd="0dp"
android:background="@drawable/square_ripple"
android:clickable="true"
android:drawableEnd="@drawable/ic_sort_white_24dp"
@@ -138,9 +111,37 @@
android:textStyle="normal"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toBottomOf="@id/category_title"
- app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintEnd_toStartOf="@id/update_button"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toEndOf="@id/space"
app:layout_constraintTop_toTopOf="@id/category_title"
tools:text="Drag and Drop" />
+
+
+
+
\ No newline at end of file