Skip to content

Commit

Permalink
🔥 [#220] StudentDetailFeature / 드림북 관련 다 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
kimsh153 committed Aug 23, 2023
1 parent d5b95f9 commit 4ca3dc6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ final class StudentDetailModel: ObservableObject, StudentDetailStateProtocol {
}
@Published var _studentDetailEntity: StudentDetailEntity?
@Published var isLoading: Bool = false
@Published var isDownloading: Bool = false
}
// swiftlint: enable identifier_name

Expand All @@ -41,8 +40,4 @@ extension StudentDetailModel: StudentDetailActionProtocol {
func updateIsLoading(isLoading: Bool) {
self.isLoading = isLoading
}

func updateIsDownloading(isDownloading: Bool) {
self.isDownloading = isDownloading
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ protocol StudentDetailStateProtocol {
var userRole: UserRoleType { get }
var studentDetailEntity: StudentDetailEntity? { get }
var isLoading: Bool { get }
var isDownloading: Bool { get }
}

protocol StudentDetailActionProtocol: AnyObject {
func updateUserRole(role: UserRoleType)
func updateStudentDetailEntity(entity: StudentDetailEntity)
func updateIsLoading(isLoading: Bool)
func updateIsDownloading(isDownloading: Bool)
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,6 @@ struct StudentDetailView: View {
.onAppear {
intent.onAppear()
}
.smsToast(
text: "드림북을 다운로드 중입니다...",
isShowing: Binding(
get: { state.isDownloading },
set: { _ in }
)
) {
LottieView(asset: .smsLoading)
.frame(width: 24, height: 24)
}
.navigationBarHidden(true)
}

Expand Down

0 comments on commit 4ca3dc6

Please sign in to comment.