Drafts and Update
This commit is contained in:
parent
f8a78b35b8
commit
052f63d95c
|
@ -17,6 +17,10 @@
|
|||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
<key>UIAppFonts</key>
|
||||
<array>
|
||||
<string>PolySans-BulkyWide.ttf</string>
|
||||
</array>
|
||||
<key>UIBackgroundModes</key>
|
||||
<array>
|
||||
<string>remote-notification</string>
|
||||
|
|
|
@ -749,6 +749,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"accounts.subclub" : {
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "sub.club Account"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"activity" : {
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
|
@ -1621,6 +1631,26 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"info.subclub.collaboration" : {
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "This feature is from a collaboration between sub.club and Bubble"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"info.subclub.description" : {
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "sub.club is a third-party service that allows Mastodon accounts to be premium accounts"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"instance.rules" : {
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
|
@ -1781,6 +1811,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"learn.subclub" : {
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "About sub.club"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"login.instance.unsafe" : {
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
|
|
|
@ -46,5 +46,7 @@ struct PostDraftView: View {
|
|||
ContentUnavailableView("status.drafts.empty", systemImage: "plus.circle.dashed")
|
||||
}
|
||||
}
|
||||
.presentationDragIndicator(.visible)
|
||||
.presentationDetents(drafts.count > 0 ? [.large] : [.medium, .large])
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,23 +39,15 @@ struct UpdateView: View {
|
|||
|
||||
var features: some View {
|
||||
VStack(spacing: 60) {
|
||||
newFeature(imageName: "HeroIcon", title: "Bubble!", text: "All previous \"Threaded\" are cleared off the app!")
|
||||
newFeature(imageName: "SubClubMark", title: "sub.club", text: "A full sub.club integration was made!")
|
||||
|
||||
newFeature(systemImage: "plus.square.dashed", title: "Drafts", text: "Keep a list of your thought-of future posts")
|
||||
newFeature(systemImage: "questionmark.square.dashed", title: "Drafts will be back", text: "The \"Drafts\" button has been removed, all previous Drafts are saved anyway")
|
||||
|
||||
newFeature(systemImage: widgetIcon, title: "New widgets", text: "Check them in the Control Center! And other places...")
|
||||
newFeature(systemImage: "person.2.badge.gearshape.fill", title: "Improved profiles", text: "Display names have been slightly improved")
|
||||
}
|
||||
.frame(height: 500)
|
||||
}
|
||||
|
||||
private var widgetIcon: String {
|
||||
if #available(iOS 18.0, *) {
|
||||
return "widget.small.badge.plus"
|
||||
} else {
|
||||
return "paintbrush"
|
||||
}
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
private func newFeature(systemImage: String, title: String, text: String) -> some View {
|
||||
ViewThatFits {
|
||||
|
|
Loading…
Reference in New Issue