Fixes and improvements
This commit is contained in:
parent
94f48143ab
commit
e05d84a931
|
@ -31,7 +31,7 @@ struct ThreadedApp: App {
|
||||||
.task {
|
.task {
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
Tips.showAllTipsForTesting()
|
Tips.showAllTipsForTesting()
|
||||||
UserDefaults.standard.removeObject(forKey: "lastVersion")
|
UserDefaults.standard.set("ABC", forKey: "lastVersion")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
try? Tips.configure([
|
try? Tips.configure([
|
||||||
|
|
|
@ -8,7 +8,7 @@ struct IconView: View {
|
||||||
ForEach(AppIcons.allCases, id: \.self) { icon in
|
ForEach(AppIcons.allCases, id: \.self) { icon in
|
||||||
Button {
|
Button {
|
||||||
HapticManager.playHaptics(haptics: Haptic.tap)
|
HapticManager.playHaptics(haptics: Haptic.tap)
|
||||||
#if NS_EXTENSION_UNAVAILABLE
|
#if !WIDGET
|
||||||
changeAppIcon(to: icon.assetName)
|
changeAppIcon(to: icon.assetName)
|
||||||
#endif
|
#endif
|
||||||
} label: {
|
} label: {
|
||||||
|
|
|
@ -13,7 +13,8 @@ struct ThreadedShortcuts: AppShortcutsProvider {
|
||||||
intent: OpenComposerIntent(),
|
intent: OpenComposerIntent(),
|
||||||
phrases: [
|
phrases: [
|
||||||
"Start a \(.applicationName) post",
|
"Start a \(.applicationName) post",
|
||||||
"Post on \(.applicationName)"
|
"Post on \(.applicationName)",
|
||||||
|
"Post on Mastodon"
|
||||||
],
|
],
|
||||||
shortTitle: "status.posting",
|
shortTitle: "status.posting",
|
||||||
systemImageName: "square.and.pencil"
|
systemImageName: "square.and.pencil"
|
||||||
|
@ -235,7 +236,7 @@ struct PublishTextIntent: AppIntent {
|
||||||
.padding(.vertical)
|
.padding(.vertical)
|
||||||
.padding(.horizontal, 25)
|
.padding(.horizontal, 25)
|
||||||
.background(Color.black)
|
.background(Color.black)
|
||||||
.clipShape(Capsule())
|
.clipShape(RoundedRectangle(cornerRadius: 19.0))
|
||||||
.padding(.horizontal)
|
.padding(.horizontal)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue