parent
cd2fd1f254
commit
0f1b29c5c4
@ -0,0 +1,40 @@ |
||||
// |
||||
// APICallsView.swift |
||||
// PadelClub |
||||
// |
||||
// Created by Laurent Morvillier on 27/05/2024. |
||||
// |
||||
|
||||
import SwiftUI |
||||
import LeStorage |
||||
|
||||
struct APICallsListView: View { |
||||
|
||||
@State var collections: [String] = [] |
||||
|
||||
var body: some View { |
||||
|
||||
List { |
||||
ForEach(self.collections) { name in |
||||
NavigationLink(name) { |
||||
|
||||
} |
||||
} |
||||
}.onAppear { |
||||
self.collections = Store.main.collectionNames() |
||||
} |
||||
|
||||
} |
||||
} |
||||
|
||||
struct APICallsView: View { |
||||
|
||||
var body: some View { |
||||
|
||||
} |
||||
|
||||
} |
||||
|
||||
#Preview { |
||||
APICallsListView() |
||||
} |
||||
Loading…
Reference in new issue