mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-03-11 21:36:17 +00:00
massively improved indexing performance:
cache the downloadedEmojis Set and Array added resize image function, yet to use the app icon and name are horizontally aligned in settings
This commit is contained in:
@@ -18,22 +18,27 @@ struct SettingsView: View {
|
||||
NavigationStack {
|
||||
List {
|
||||
Section {
|
||||
VStack(alignment: .leading) {
|
||||
HStack {
|
||||
Image(isDark ? "icon-dark" : "icon")
|
||||
.resizable().scaledToFit()
|
||||
.frame(width: 100, height: 100)
|
||||
.clipShape(RoundedRectangle(cornerRadius: 24))
|
||||
.foregroundStyle(.purple)
|
||||
.shadow(color: isDark ? .white : .purple, radius: 5)
|
||||
Text("StickerSlack")
|
||||
.font(.title)
|
||||
.monospaced()
|
||||
.bold()
|
||||
HStack(alignment: .center, spacing: 5) {
|
||||
Text(Bundle.main.appVersion)
|
||||
.padding(.trailing, 10)
|
||||
VStack(alignment: .leading) {
|
||||
Text("StickerSlack")
|
||||
.font(.title2)
|
||||
.monospaced()
|
||||
.bold()
|
||||
Text(Bundle.main.appBuild)
|
||||
.foregroundStyle(.gray)
|
||||
HStack(alignment: .center, spacing: 5) {
|
||||
Text(Bundle.main.appVersion)
|
||||
.bold()
|
||||
.font(.subheadline)
|
||||
Text(Bundle.main.appBuild)
|
||||
.foregroundStyle(.gray)
|
||||
.font(.subheadline)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user