|
|
|
@ -88,6 +88,7 @@ class ChipProvider @Inject constructor(
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (task.hasLocation() && filter !is PlaceFilter && preferences.showPlaceChip) {
|
|
|
|
if (task.hasLocation() && filter !is PlaceFilter && preferences.showPlaceChip) {
|
|
|
|
val location = task.getLocation()
|
|
|
|
val location = task.getLocation()
|
|
|
|
|
|
|
|
if (location != null) {
|
|
|
|
FilterChip(
|
|
|
|
FilterChip(
|
|
|
|
filter = PlaceFilter(location.place),
|
|
|
|
filter = PlaceFilter(location.place),
|
|
|
|
defaultIcon = R.drawable.ic_outline_place_24px,
|
|
|
|
defaultIcon = R.drawable.ic_outline_place_24px,
|
|
|
|
@ -97,6 +98,7 @@ class ChipProvider @Inject constructor(
|
|
|
|
colorProvider = this::getColor,
|
|
|
|
colorProvider = this::getColor,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
if (!isSubtask && preferences.showListChip) {
|
|
|
|
if (!isSubtask && preferences.showListChip) {
|
|
|
|
if (!isNullOrEmpty(task.googleTaskList) && filter !is GtasksFilter) {
|
|
|
|
if (!isNullOrEmpty(task.googleTaskList) && filter !is GtasksFilter) {
|
|
|
|
lists.getGoogleTaskList(task.googleTaskList)?.let { list ->
|
|
|
|
lists.getGoogleTaskList(task.googleTaskList)?.let { list ->
|
|
|
|
|