Add Screen suffix to all screens. (#125)

This commit is contained in:
Doug
2022-06-30 16:48:46 +01:00
committed by GitHub
parent 83a25d5501
commit 266ca656fc
20 changed files with 141 additions and 136 deletions
@@ -51,7 +51,7 @@ final class SettingsCoordinator: Coordinator, Presentable {
self.parameters = parameters
let viewModel = SettingsViewModel()
let view = Settings(context: viewModel.context)
let view = SettingsScreen(context: viewModel.context)
settingsViewModel = viewModel
settingsHostingController = UIHostingController(rootView: view)
@@ -16,7 +16,7 @@
import SwiftUI
struct Settings: View {
struct SettingsScreen: View {
// MARK: Private
@@ -128,7 +128,7 @@ struct Settings_Previews: PreviewProvider {
@ViewBuilder
static var body: some View {
let viewModel = SettingsViewModel()
Settings(context: viewModel.context)
SettingsScreen(context: viewModel.context)
.previewInterfaceOrientation(.portrait)
}
}