Skip to content

Commit 6255319

Browse files
committed
Merge branch 'develop'
2 parents 456b946 + a2fb3f8 commit 6255319

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ brew cask install upic
119119
</details>
120120
<details>
121121
<summary>4.上传完成没有通知❓</summary><br>
122-
<p><strong>如v0.10.5版本时通知方式发生了改变,可能会有用户在上传完成之后没有收到通知。可使用以下方法解决</strong></p>
122+
<p><strong>如v0.10.4版本时通知方式发生了改变,可能会有用户在上传完成之后没有收到通知。可使用以下方法解决</strong></p>
123123
<p>1.在<code>系统偏好设置</code> - <code>通知</code>,列表中找到 <code>uPic</code> 选中并删除(按 Delete 键)</p>
124124
<p>2.退出 uPic 并重新启动</p>
125125
<img src="https://raw.githubusercontent.com/gee1k/oss/master/screenshot/uPic/delete-notification.png" width="450">

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ brew cask install upic
120120
</details>
121121
<details>
122122
<summary>4. Upload completed without notification❓</summary><br>
123-
<p><strong>For example, when the v0.10.5 version is changed, the notification method has changed, and the user may not receive the notification after the upload is completed. Can be solved by the following methods</strong></p>
123+
<p><strong>For example, when the v0.10.4 version is changed, the notification method has changed, and the user may not receive the notification after the upload is completed. Can be solved by the following methods</strong></p>
124124
<p>1.In the <code>system preferences</code> - <code>Notifications</code>, find <code>uPic</code> in the list and delete (press the Delete key)</p>
125125
<p>2.Exit uPic and restart</p>
126126
<img src="https://raw.githubusercontent.com/gee1k/oss/master/screenshot/uPic/delete-notification.png" width="450">

uPic/Basic/NSUserNotificationCenter+Extension.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ extension NSUserNotificationCenter {
1717
notification.subtitle = subtitle
1818
notification.informativeText = info
1919
notification.userInfo = ["body": info]
20+
notification.soundName = NSUserNotificationDefaultSoundName
2021
self.delegate = UserNotificationCenterDelegate.shared
2122
self.deliver(notification)
2223
}

0 commit comments

Comments
 (0)