consolidated emptycollectionview

updated emptycollectionview
added a no results view and a hint to start searching
downloadedview doesnt work atm
emojicollectionview representable and the bare uikit
reorging searchview
some stuff in emojicollectionview i forgor
This commit is contained in:
Nihaal Sharma committed 2026-06-30 15:02:43 +01:00
1 parent d17bbd2e91
commit b9a2bfc13e
15 files changed
+376 -340

No files matched your search

@@ -13,29 +13,37 @@ struct EmptyCollectionView: View {
@State var systemImage: String
var body: some View {
ZStack {
Color.accentColor
.opacity(0.4)
.padding(.horizontal, -15)
.padding(.vertical, -15)
.blur(radius: 5)
VStack {
HStack {
Image(systemName: systemImage)
.resizable()
.scaledToFit()
.frame(width: 25)
.padding(.horizontal, 5)
Text(title)
.bold()
.font(.title3)
}
HStack {
Spacer()
Text(details)
.multilineTextAlignment(.center)
.foregroundStyle(.gray)
Spacer()
}
}
.listRowSeparator(.hidden)
HStack {
Spacer()
Text(details)
.multilineTextAlignment(.center)
Spacer()
.transition(.scale)
.multilineTextAlignment(.center)
.frame(maxWidth: .infinity)
.padding()
.background {
Color.accentColor.opacity(0.2)
.clipShape(RoundedRectangle(cornerRadius: 10))
.blur(radius: 5)
.shadow(color: .accentColor, radius: 5)
}
.padding()
}
}
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.