Skip to content

Commit 3ab870e

Browse files
committed
refactor: 얼럿 관련 액션 제거
1 parent 84d9a0d commit 3ab870e

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

Application/DevLogPresentation/Sources/Settings/SettingsFeature.swift

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@ struct SettingsFeature {
4343
case setAlert(AlertType)
4444
case setDirSize(Int64)
4545
case updateDirSize
46-
case tapDeleteAuthButton
47-
case tapSignOutButton
4846
case tapRemoveCacheButton
49-
case confirmRemoveCache
5047
case loading(LoadingFeature.Action)
5148

5249
enum Alert: Equatable {
@@ -113,21 +110,9 @@ struct SettingsFeature {
113110
state.dirSize = value
114111
case .updateDirSize:
115112
return fetchWebPageImageDirSizeEffect()
116-
case .tapDeleteAuthButton:
117-
state.alert = nil
118-
state.alertType = nil
119-
return deleteAuthEffect()
120-
case .tapSignOutButton:
121-
state.alert = nil
122-
state.alertType = nil
123-
return signOutEffect()
124113
case .tapRemoveCacheButton:
125114
state.alert = alertState(for: .removeCache)
126115
state.alertType = .removeCache
127-
case .confirmRemoveCache:
128-
state.alert = nil
129-
state.alertType = nil
130-
return clearWebPageImageDirectoryEffect()
131116
case .loading:
132117
break
133118
}

0 commit comments

Comments
 (0)