Skip to content

Commit

Permalink
Merge pull request #113 from EAT-SSU/develop
Browse files Browse the repository at this point in the history
[QA] v2.1.1.2 ν…ŒμŠ€νŠΈ ν”ŒλΌμ΄νŠΈ μ—…λ‘œλ“œ
  • Loading branch information
jayn2u authored Sep 24, 2024
2 parents 58828e0 + e6e02dd commit dd888b4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ jobs:
BASE_URL: ${{ secrets.BASE_URL }}
KAKAO_API_KEY: ${{ secrets.KAKAO_API_KEY }}
run: |
cd EATSSU_MVC/EATSSU_MVC/Resources
mkdir Secrets
cd Secrets
echo "BASE_URL = $BASE_URL" >> Release.xcconfig
echo "KAKAO_API_KEY = $KAKAO_API_KEY" >> Release.xcconfig
cat Release.xcconfig
mv Release.xcconfig EATSSU_MVC/EATSSU_MVC/Resources/Secrets
echo "BASE_URL = $BASE_URL" >> Debug.xcconfig
echo "KAKAO_API_KEY = $KAKAO_API_KEY" >> Debug.xcconfig
cat Debug.xcconfig
mv Debug.xcconfig EATSSU_MVC/EATSSU_MVC/Resources/Secrets
- name: Install Dependencies
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,13 @@ class NotificationManager {

/// 평일 11μ‹œμ— μ•±μ˜ μœ μž…μ„ μœ λ„ν•˜λŠ” ν‘Έμ‹œ μ•Œλ¦Όμ„ μ·¨μ†Œν•˜λŠ” λ©”μ†Œλ“œ
func cancelWeekday11AMNotification() {
let weekday = [2, 3, 4, 5, 6]
let identifier = "weekdayNotification-\(weekday)"
let weekdays = [2, 3, 4, 5, 6]

let center = UNUserNotificationCenter.current()
center.removePendingNotificationRequests(withIdentifiers: [identifier])
for weekday in weekdays {
let identifier = "weekdayNotification-\(weekday)"
let center = UNUserNotificationCenter.current()
center.removePendingNotificationRequests(withIdentifiers: [identifier])
}
}

/// μ•± μ‹€ν–‰ μ‹œ μ•Œλ¦Ό λ°œμ†‘ κΆŒν•œμ„ μš”μ²­ν•˜λŠ” νŒμ—… 호좜 λ©”μ†Œλ“œ
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ extension MyPageViewController: UITableViewDataSource {

NotificationManager.shared.checkNotificationSetting { setting in
switch setting.authorizationStatus {
case .authorized,.notDetermined, .provisional, .ephemeral:
case .authorized, .notDetermined, .provisional, .ephemeral:
DispatchQueue.main.async {
cell.toggleSwitch.setOn(self.switchState, animated: true)
}
Expand Down

0 comments on commit dd888b4

Please sign in to comment.