From fc20ee8dea6e77515c256dd7c36c70eb8171052b Mon Sep 17 00:00:00 2001 From: Alin Date: Fri, 18 Oct 2024 17:16:59 -0600 Subject: [PATCH] v3.9.2 --- Pearcleaner.xcodeproj/project.pbxproj | 8 ++++---- Pearcleaner/Views/FilesView.swift | 10 ++++++++-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Pearcleaner.xcodeproj/project.pbxproj b/Pearcleaner.xcodeproj/project.pbxproj index dfac825..669c7bc 100644 --- a/Pearcleaner.xcodeproj/project.pbxproj +++ b/Pearcleaner.xcodeproj/project.pbxproj @@ -541,8 +541,8 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - APP_BUILD = 63; - APP_VERSION = 3.9.0; + APP_BUILD = 64; + APP_VERSION = 3.9.2; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; @@ -612,8 +612,8 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - APP_BUILD = 63; - APP_VERSION = 3.9.0; + APP_BUILD = 64; + APP_VERSION = 3.9.2; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; diff --git a/Pearcleaner/Views/FilesView.swift b/Pearcleaner/Views/FilesView.swift index 4b514dc..a91814d 100644 --- a/Pearcleaner/Views/FilesView.swift +++ b/Pearcleaner/Views/FilesView.swift @@ -119,13 +119,19 @@ struct FilesView: View { .font(.title3) .foregroundStyle((.primary.opacity(0.5))) } - Spacer() - Button(detailsEnabled ? "Hide Details" : "Show Details") { + Button() { withAnimation(Animation.easeInOut(duration: animationEnabled ? 0.35 : 0)) { detailsEnabled.toggle() } + } label: { + Text(detailsEnabled ? "Hide Details" : "Show Details") } + .buttonStyle(.bordered) + .padding() + + Spacer() + } }, content: {