Fixes and improvements

This commit is contained in:
Lumaa 2024-08-15 04:36:40 +02:00
parent 94f48143ab
commit e05d84a931
3 changed files with 5 additions and 4 deletions

View File

@ -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([

View File

@ -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: {

View File

@ -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)
}
}