comparison GeoQuiz/ProfileModalView.swift @ 23:02dcebb8cc4a

fix layout issues
author Dennis C. M. <dennis@denniscm.com>
date Thu, 27 Oct 2022 09:17:13 +0200
parents 56add5561261
children 425078c01194
comparison
equal deleted inserted replaced
22:56add5561261 23:02dcebb8cc4a
78 ProfileEditModalView(userController: userController) 78 ProfileEditModalView(userController: userController)
79 } 79 }
80 80
81 #if DEBUG 81 #if DEBUG
82 .onAppear { 82 .onAppear {
83 PersistenceController.createMockData(playedGames, moc) 83 if playedGames.isEmpty {
84 PersistenceController.createMockData(with: moc)
85 }
84 } 86 }
85 #endif 87 #endif
86 } 88 }
87 } 89 }
88 } 90 }