Made saved searches always available

Replace filtersheet with saved searches version if no filters are avalible
This commit is contained in:
Jobobby04
2020-05-17 20:52:51 -04:00
parent f5f7971cb5
commit 1713dd4ea0
4 changed files with 20 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
@@ -46,6 +47,7 @@
android:tint="?attr/colorAccent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/filter_btn"
tools:layout_constraintEnd_toStartf="parent"
app:layout_constraintHorizontal_bias="1"
app:layout_constraintStart_toEndOf="@+id/reset_btn"
app:layout_constraintTop_toTopOf="parent"
@@ -58,6 +60,8 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/action_filter"
android:visibility="gone"
tools:visibility="visible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />

View File

@@ -98,6 +98,7 @@
<string name="eh_force_sync_reset_title">Are you sure?</string>
<string name="eh_force_sync_reset_message">Resetting the sync state can cause your next sync to be extremely slow.</string>
<string name="eh_show_update_statistics_dialog">Collecting statistics…</string>
<string name="eh_saved_searches">Saved Searches</string>
<!-- AZ -->
<string name="az_recommends">See Recommendations</string>