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:
neon443 committed 2025-11-22 17:31:03 +00:00
1 parent 69b1edce9f
commit 98d8f083a1
5 files changed
+55 -13

No files matched your search

+14 -9
View File
@@ -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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.