Removed unnecessary comments from RiotSwiftUI templates, fixed StateStoreViewModel typealias formatting

This commit is contained in:
Stefan Ceriu
2022-09-27 11:17:25 +03:00
committed by Stefan Ceriu
parent 43c28d23b7
commit fc2fdc8ae7
61 changed files with 62 additions and 288 deletions
@@ -17,9 +17,7 @@
import Combine
import SwiftUI
typealias AllChatsOnboardingViewModelType = StateStoreViewModel<AllChatsOnboardingViewState,
Never,
AllChatsOnboardingViewAction>
typealias AllChatsOnboardingViewModelType = StateStoreViewModel<AllChatsOnboardingViewState, Never, AllChatsOnboardingViewAction>
class AllChatsOnboardingViewModel: AllChatsOnboardingViewModelType, AllChatsOnboardingViewModelProtocol {
// MARK: - Properties
@@ -22,9 +22,8 @@ struct PollEditFormViewModelParameters {
let pollDetails: EditFormPollDetails
}
typealias PollEditFormViewModelType = StateStoreViewModel<PollEditFormViewState,
Never,
PollEditFormViewAction>
typealias PollEditFormViewModelType = StateStoreViewModel<PollEditFormViewState, Never, PollEditFormViewAction>
class PollEditFormViewModel: PollEditFormViewModelType, PollEditFormViewModelProtocol {
private enum Constants {
static let minAnswerOptionsCount = 2
@@ -17,9 +17,8 @@
import Combine
import SwiftUI
typealias RoomAccessTypeChooserViewModelType = StateStoreViewModel<RoomAccessTypeChooserViewState,
RoomAccessTypeChooserStateAction,
RoomAccessTypeChooserViewAction>
typealias RoomAccessTypeChooserViewModelType = StateStoreViewModel<RoomAccessTypeChooserViewState, RoomAccessTypeChooserStateAction, RoomAccessTypeChooserViewAction>
class RoomAccessTypeChooserViewModel: RoomAccessTypeChooserViewModelType, RoomAccessTypeChooserViewModelProtocol {
// MARK: - Properties
@@ -17,9 +17,8 @@
import Combine
import SwiftUI
typealias RoomUpgradeViewModelType = StateStoreViewModel<RoomUpgradeViewState,
Never,
RoomUpgradeViewAction>
typealias RoomUpgradeViewModelType = StateStoreViewModel<RoomUpgradeViewState, Never, RoomUpgradeViewAction>
class RoomUpgradeViewModel: RoomUpgradeViewModelType, RoomUpgradeViewModelProtocol {
// MARK: - Properties
@@ -17,9 +17,8 @@
import Combine
import SwiftUI
typealias TimelinePollViewModelType = StateStoreViewModel<TimelinePollViewState,
Never,
TimelinePollViewAction>
typealias TimelinePollViewModelType = StateStoreViewModel<TimelinePollViewState, Never, TimelinePollViewAction>
class TimelinePollViewModel: TimelinePollViewModelType, TimelinePollViewModelProtocol {
// MARK: - Properties
@@ -17,9 +17,7 @@
import Combine
import SwiftUI
typealias UserSuggestionViewModelType = StateStoreViewModel<UserSuggestionViewState,
Never,
UserSuggestionViewAction>
typealias UserSuggestionViewModelType = StateStoreViewModel<UserSuggestionViewState, Never, UserSuggestionViewAction>
class UserSuggestionViewModel: UserSuggestionViewModelType, UserSuggestionViewModelProtocol {
// MARK: - Properties