Fixes and improvements
This commit is contained in:
parent
94f48143ab
commit
e05d84a931
|
@ -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([
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue