mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-27 05:49:25 -04:00
Do not display the grid of ZIMs for custom apps
This commit is contained in:
parent
4cffee9f59
commit
97143cb05b
@ -37,7 +37,7 @@ struct Welcome: View {
|
||||
let showLibrary: (() -> Void)?
|
||||
|
||||
var body: some View {
|
||||
if zimFiles.isEmpty {
|
||||
if zimFiles.isEmpty || !FeatureFlags.hasLibrary {
|
||||
ZStack {
|
||||
LogoView()
|
||||
welcomeContent
|
||||
@ -56,7 +56,7 @@ struct Welcome: View {
|
||||
}
|
||||
}
|
||||
}.ignoresSafeArea()
|
||||
} else {
|
||||
} else if FeatureFlags.hasLibrary {
|
||||
LazyVGrid(
|
||||
columns: ([GridItem(.adaptive(minimum: 250, maximum: 500), spacing: 12)]),
|
||||
alignment: .leading,
|
||||
|
Loading…
x
Reference in New Issue
Block a user