fix(creator): 본인 채널 DM 확인을 추가한다
This commit is contained in:
@@ -64,6 +64,7 @@ class AppState: ObservableObject {
|
||||
@Published var eventPopup: EventItem? = nil
|
||||
@Published var purchasedContentId = 0
|
||||
@Published var purchasedContentOrderType = OrderType.KEEP
|
||||
@Published private(set) var pendingMainChatFilter: MainChatFilter? = nil
|
||||
|
||||
@Published var isRestartApp = false
|
||||
@Published var startTab: HomeViewModel.CurrentTab = .home
|
||||
@@ -191,6 +192,16 @@ class AppState: ObservableObject {
|
||||
pendingContentSettingsGuideMessage = nil
|
||||
return message
|
||||
}
|
||||
|
||||
func setPendingMainChatFilter(_ filter: MainChatFilter) {
|
||||
pendingMainChatFilter = filter
|
||||
}
|
||||
|
||||
func consumePendingMainChatFilter() -> MainChatFilter? {
|
||||
let filter = pendingMainChatFilter
|
||||
pendingMainChatFilter = nil
|
||||
return filter
|
||||
}
|
||||
|
||||
// 언어 적용 직후 앱을 소프트 재시작(스플래시 -> 메인)하여 전역 UI를 새로고침
|
||||
func softRestart() {
|
||||
|
||||
Reference in New Issue
Block a user