Skip to content

Commit

Permalink
notices -> notice
Browse files Browse the repository at this point in the history
  • Loading branch information
peng-u-0807 committed Sep 29, 2024
1 parent 493c60e commit 0106fa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SNUTT-2022/SNUTT/Repositories/Dto/ConfigDto.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct ConfigsDto: Codable {
let vacancySugangSnuUrl: VacancySugangSnuUrlDto?
let settingsBadge: SettingsBadgeDto?
let reactNativeBundleFriends: ReactNativeBundleFriendsDto?
let notices: NoticeViewInfoDto?
let notice: NoticeViewInfoDto?
let disableMapFeature: Bool?
}

Expand Down
2 changes: 1 addition & 1 deletion SNUTT-2022/SNUTT/Services/GlobalUIService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ struct GlobalUIService: GlobalUIServiceProtocol, UserAuthHandler, ConfigsProvida

func showNoticeViewIfNeeded() async throws {
let configs = try await configRepository?.fetchConfigs()
appState.system.noticeViewInfo = configs?.notices
appState.system.noticeViewInfo = configs?.notice
}

// MARK: Error Handling
Expand Down

0 comments on commit 0106fa8

Please sign in to comment.