From 36ea668d7fc9070770973b0bc329f4319bf43cab Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Wed, 22 Apr 2026 01:20:47 -0500 Subject: feat(v2​.6​.0): refine ​UI, density, and usability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • add compact/comfortable density modes • implement collapsible sections and sticky summary header • improve visual status indicators and copy actions • refine watchlist and history UX with swipe actions • reorganize settings and improve empty states • add subtle animations and accessibility improvements --- DomainDig/DomainViewModel.swift | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'DomainDig/DomainViewModel.swift') diff --git a/DomainDig/DomainViewModel.swift b/DomainDig/DomainViewModel.swift index 9fdf1fc..326db3a 100644 --- a/DomainDig/DomainViewModel.swift +++ b/DomainDig/DomainViewModel.swift @@ -598,6 +598,12 @@ final class DomainViewModel { persistHistory() } + func clearLookupCache() { + Task { + await LookupRuntime.shared.clearCache() + } + } + func clearRecentSearches() { recentSearches.removeAll() UserDefaults.standard.removeObject(forKey: Self.recentSearchesKey) -- cgit v1.2.3