Various fixes

This commit is contained in:
Thomas Ricouard 2024-01-07 10:35:11 +01:00
parent 27ce7fe916
commit 6e981a99fc
3 changed files with 2 additions and 4 deletions

View file

@ -6,7 +6,7 @@
<string>development</string> <string>development</string>
<key>com.apple.developer.icloud-container-identifiers</key> <key>com.apple.developer.icloud-container-identifiers</key>
<array> <array>
<string>iCloud.$(BUNDLE_ID_PREFIX).IceCubesApp</string> <string>iCloud.icecubesapp</string>
</array> </array>
<key>com.apple.developer.icloud-services</key> <key>com.apple.developer.icloud-services</key>
<array> <array>

View file

@ -25,7 +25,7 @@ extension StatusEditor {
VStack(alignment: .leading, spacing: 8) { VStack(alignment: .leading, spacing: 8) {
Text(draft.content) Text(draft.content)
.font(.body) .font(.body)
.lineLimit(3) .lineLimit(10)
.foregroundStyle(theme.labelColor) .foregroundStyle(theme.labelColor)
Text(draft.creationDate, style: .relative) Text(draft.creationDate, style: .relative)
.font(.footnote) .font(.footnote)

View file

@ -190,8 +190,6 @@ extension StatusEditor {
Text("\(value)") Text("\(value)")
.foregroundColor(value < 0 ? .red : .secondary) .foregroundColor(value < 0 ? .red : .secondary)
.font(.callout.monospacedDigit()) .font(.callout.monospacedDigit())
.contentTransition(.numericText(value: Double(value)))
.animation(.default, value: value)
.accessibilityLabel("accessibility.editor.button.characters-remaining") .accessibilityLabel("accessibility.editor.button.characters-remaining")
.accessibilityValue("\(value)") .accessibilityValue("\(value)")
.accessibilityRemoveTraits(.isStaticText) .accessibilityRemoveTraits(.isStaticText)