From a85c701f5014241bc2f73ef61c57f76b649a497f Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sun, 31 Dec 2023 13:17:09 +0100 Subject: [PATCH] Fix #1639 --- Packages/Status/Sources/Status/Row/StatusRowView.swift | 7 +++++++ .../Sources/Timeline/{ => actors}/TimelineCache.swift | 0 .../Sources/Timeline/{ => actors}/TimelineDatasource.swift | 0 3 files changed, 7 insertions(+) rename Packages/Timeline/Sources/Timeline/{ => actors}/TimelineCache.swift (100%) rename Packages/Timeline/Sources/Timeline/{ => actors}/TimelineDatasource.swift (100%) diff --git a/Packages/Status/Sources/Status/Row/StatusRowView.swift b/Packages/Status/Sources/Status/Row/StatusRowView.swift index d62adbac..d726404c 100644 --- a/Packages/Status/Sources/Status/Row/StatusRowView.swift +++ b/Packages/Status/Sources/Status/Row/StatusRowView.swift @@ -281,6 +281,13 @@ public struct StatusRowView: View { } } label: { Text("status.filter.show-anyway") + .foregroundStyle(theme.tintColor) + } + .buttonStyle(.plain) + } + .onTapGesture { + withAnimation { + viewModel.isFiltered = false } } .accessibilityAction { diff --git a/Packages/Timeline/Sources/Timeline/TimelineCache.swift b/Packages/Timeline/Sources/Timeline/actors/TimelineCache.swift similarity index 100% rename from Packages/Timeline/Sources/Timeline/TimelineCache.swift rename to Packages/Timeline/Sources/Timeline/actors/TimelineCache.swift diff --git a/Packages/Timeline/Sources/Timeline/TimelineDatasource.swift b/Packages/Timeline/Sources/Timeline/actors/TimelineDatasource.swift similarity index 100% rename from Packages/Timeline/Sources/Timeline/TimelineDatasource.swift rename to Packages/Timeline/Sources/Timeline/actors/TimelineDatasource.swift