add: comments
This commit is contained in:
@@ -16,6 +16,8 @@ final class FirebaseHistoryRepository: ObservableObject {
|
||||
private let dispatchGroup = DispatchGroup()
|
||||
|
||||
init() {
|
||||
// TODO: あとでアカウントに紐付けて管理するようにする
|
||||
|
||||
Firestore.firestore()
|
||||
.collection("histories")
|
||||
.order(by: "createdAt", descending: true)
|
||||
|
||||
@@ -43,6 +43,17 @@ struct BoardSelectView<Repository: FirestoreBoardRepositoryProtorol> : View {
|
||||
var body: some View {
|
||||
NavigationView {
|
||||
Group {
|
||||
// Note:
|
||||
// Sectionでヘッダーを表示しようとするとレイアウトが壊れてしまう(beta4)❗
|
||||
// LazyVGrid と競合しているようだが、現時点では仕様かバグの判断がつかないため保留。
|
||||
//
|
||||
// ```
|
||||
// List {
|
||||
// Section(header: Text("History")) { ... }
|
||||
// Section(header: Text("All")) { ... }
|
||||
// }
|
||||
//
|
||||
|
||||
ScrollView {
|
||||
VStack {
|
||||
// Note:
|
||||
|
||||
Reference in New Issue
Block a user