mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-12-03 14:04:48 +00:00
redid search in uikit
This commit is contained in:
7 files changed
+109
-12
No files matched your search
@@ -9,7 +9,7 @@ import SwiftUI
|
||||
|
||||
struct EmptyCollectionView: View {
|
||||
@State var title: String
|
||||
@State var details: String
|
||||
@State var details: String?
|
||||
@State var systemImage: String
|
||||
|
||||
var body: some View {
|
||||
@@ -24,10 +24,10 @@ struct EmptyCollectionView: View {
|
||||
.bold()
|
||||
.font(.title3)
|
||||
}
|
||||
if !details.isEmpty {
|
||||
if details != nil {
|
||||
HStack {
|
||||
Spacer()
|
||||
Text(details)
|
||||
Text(details!)
|
||||
.multilineTextAlignment(.center)
|
||||
.foregroundStyle(.gray)
|
||||
Spacer()
|
||||
|
||||