chore: change video and audio notification string

This commit is contained in:
sunxiaojian 2021-03-15 15:08:58 +08:00
parent 0c164a170c
commit 20283d1878
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import UIKit
final class VideoPlayerViewModel {
var disposeBag = Set<AnyCancellable>()
static let appWillPlayVideoNotification = NSNotification.Name(rawValue: "org.joinmastodon.Mastodon.VideoPlayerViewModel.appWillPlayVideo")
static let appWillPlayVideoNotification = NSNotification.Name(rawValue: "org.joinmastodon.Mastodon.video-playback-service.appWillPlayVideo")
// input
let previewImageURL: URL?
let videoURL: URL

View File

@ -14,7 +14,7 @@ import os.log
final class AudioPlaybackService: NSObject {
static let appWillPlayAudioNotification = NSNotification.Name(rawValue: "org.joinmastodon.Mastodon.AudioPlayer.appWillPlayAudio")
static let appWillPlayAudioNotification = NSNotification.Name(rawValue: "org.joinmastodon.Mastodon.audio-playback-service.appWillPlayAudio")
var disposeBag = Set<AnyCancellable>()