diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchAdapter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchAdapter.kt index fe9e0012c..c11a9bdd0 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchAdapter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchAdapter.kt @@ -6,8 +6,8 @@ import android.view.ViewGroup import android.widget.ArrayAdapter import com.bumptech.glide.load.engine.DiskCacheStrategy import eu.kanade.tachiyomi.R -import eu.kanade.tachiyomi.data.track.model.TrackSearch import eu.kanade.tachiyomi.data.glide.GlideApp +import eu.kanade.tachiyomi.data.track.model.TrackSearch import eu.kanade.tachiyomi.util.gone import eu.kanade.tachiyomi.util.inflate import kotlinx.android.synthetic.main.track_search_item.view.* @@ -53,7 +53,6 @@ class TrackSearchAdapter(context: Context) .centerCrop() .into(view.track_search_cover) - if (track.publishing_status.isNullOrBlank()) { view.track_search_status.gone() view.track_search_status_result.gone() @@ -74,9 +73,7 @@ class TrackSearchAdapter(context: Context) } else { view.track_search_start_result.text = track.start_date } - } } } - } \ No newline at end of file diff --git a/app/src/main/res/layout/track_search_dialog.xml b/app/src/main/res/layout/track_search_dialog.xml index 1fdd70ee0..84f9a3d54 100644 --- a/app/src/main/res/layout/track_search_dialog.xml +++ b/app/src/main/res/layout/track_search_dialog.xml @@ -14,6 +14,7 @@ android:hint="@string/title" android:layout_marginEnd="16dp" android:layout_marginStart="16dp" + android:maxLines="1" app:layout_constraintTop_toTopOf="parent"/> - -