diff --git a/Threaded/ThreadedApp.swift b/Threaded/ThreadedApp.swift index 493afa1..635c277 100644 --- a/Threaded/ThreadedApp.swift +++ b/Threaded/ThreadedApp.swift @@ -31,7 +31,7 @@ struct ThreadedApp: App { .task { #if DEBUG Tips.showAllTipsForTesting() - UserDefaults.standard.removeObject(forKey: "lastVersion") + UserDefaults.standard.set("ABC", forKey: "lastVersion") #endif try? Tips.configure([ diff --git a/Threaded/Views/Settings/IconView.swift b/Threaded/Views/Settings/IconView.swift index 4d57d19..a3b16b6 100644 --- a/Threaded/Views/Settings/IconView.swift +++ b/Threaded/Views/Settings/IconView.swift @@ -8,7 +8,7 @@ struct IconView: View { ForEach(AppIcons.allCases, id: \.self) { icon in Button { HapticManager.playHaptics(haptics: Haptic.tap) - #if NS_EXTENSION_UNAVAILABLE + #if !WIDGET changeAppIcon(to: icon.assetName) #endif } label: { diff --git a/ThreadedWidgets/AppIntent.swift b/ThreadedWidgets/AppIntent.swift index 7bcbc99..bd13646 100644 --- a/ThreadedWidgets/AppIntent.swift +++ b/ThreadedWidgets/AppIntent.swift @@ -13,7 +13,8 @@ struct ThreadedShortcuts: AppShortcutsProvider { intent: OpenComposerIntent(), phrases: [ "Start a \(.applicationName) post", - "Post on \(.applicationName)" + "Post on \(.applicationName)", + "Post on Mastodon" ], shortTitle: "status.posting", systemImageName: "square.and.pencil" @@ -235,7 +236,7 @@ struct PublishTextIntent: AppIntent { .padding(.vertical) .padding(.horizontal, 25) .background(Color.black) - .clipShape(Capsule()) + .clipShape(RoundedRectangle(cornerRadius: 19.0)) .padding(.horizontal) } }