mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 20:54:51 +00:00
linked to ui in settings
This commit is contained in:
1 file changed
+9
@@ -112,6 +112,15 @@ struct SettingsView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Section("Debug") {
|
Section("Debug") {
|
||||||
|
NavigationLink {
|
||||||
|
EmojiCollectionView(
|
||||||
|
hoarder: hoarder,
|
||||||
|
items: hoarder.emojis.prefix(50).map { $0.name }
|
||||||
|
)
|
||||||
|
} label: {
|
||||||
|
Label("", systemImage: "square.grid.2x2.fill")
|
||||||
|
}
|
||||||
|
|
||||||
Button("Refresh", systemImage: "arrow.clockwise", role: .destructive) {
|
Button("Refresh", systemImage: "arrow.clockwise", role: .destructive) {
|
||||||
hoarder.startLoading(localOnly: false, skipIndex: false)
|
hoarder.startLoading(localOnly: false, skipIndex: false)
|
||||||
}
|
}
|
||||||
|
|||||||