diff --git a/app/src/main/java/net/pokeranalytics/android/model/filter/QueryCondition.kt b/app/src/main/java/net/pokeranalytics/android/model/filter/QueryCondition.kt
index 180c2085..115cfd97 100644
--- a/app/src/main/java/net/pokeranalytics/android/model/filter/QueryCondition.kt
+++ b/app/src/main/java/net/pokeranalytics/android/model/filter/QueryCondition.kt
@@ -594,7 +594,7 @@ sealed class QueryCondition : RowRepresentable {
}
}
- class PastDay(value: Int) : SingleInt(value) {
+ class PastDay(value: Int) : UserInputSingleInt(value) {
override var operator = Operator.EQUALS
override val viewType: Int = RowViewType.TITLE_VALUE_CHECK.ordinal
diff --git a/app/src/main/java/net/pokeranalytics/android/ui/view/rowrepresentable/FilterItemRow.kt b/app/src/main/java/net/pokeranalytics/android/ui/view/rowrepresentable/FilterItemRow.kt
index 0f60bc85..e8cc52d1 100644
--- a/app/src/main/java/net/pokeranalytics/android/ui/view/rowrepresentable/FilterItemRow.kt
+++ b/app/src/main/java/net/pokeranalytics/android/ui/view/rowrepresentable/FilterItemRow.kt
@@ -104,11 +104,11 @@ open class FixedValueFilterItemRow(queryCondition: QueryCondition,
get() { return rawCondition }
override fun valueFormatted(context: Context): CharSequence? {
- throw PAIllegalStateException("Not applicable")
+ throw PAIllegalStateException("Not applicable for $rawCondition")
}
override val singleValue: Any?
- get() { throw PAIllegalStateException("Not applicable") }
+ get() { throw PAIllegalStateException("Not applicable for $rawCondition") }
}
diff --git a/app/src/main/res/layout/fragment_filter_details.xml b/app/src/main/res/layout/fragment_filter_details.xml
index bab049a9..710f3260 100644
--- a/app/src/main/res/layout/fragment_filter_details.xml
+++ b/app/src/main/res/layout/fragment_filter_details.xml
@@ -1,61 +1,37 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
+ android:layout_height="?attr/actionBarSize"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:title="@string/reports" />
-
\ No newline at end of file
+
+
+
\ No newline at end of file