From 77041c81c325c0bc88c94dc28d732f656cc4c885 Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期二, 17 十月 2023 18:28:29 +0800
Subject: [PATCH] 修复BUG

---
 WanPai/Root/Course/VC/CourseVideoDetailVC.swift |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/WanPai/Root/Course/VC/CourseVideoDetailVC.swift b/WanPai/Root/Course/VC/CourseVideoDetailVC.swift
index fffddbf..f95126f 100644
--- a/WanPai/Root/Course/VC/CourseVideoDetailVC.swift
+++ b/WanPai/Root/Course/VC/CourseVideoDetailVC.swift
@@ -144,6 +144,7 @@
 					self?.label_studyState.backgroundColor = UIColor(hexStr: "#318C10").withAlphaComponent(0.29)
 					self?.label_studyState.textColor = UIColor(hexStr: "#318C10")
 					self?.timeDuration = 0
+					NotificationCenter.default.post(name: UpdateWelfare_Noti, object: nil)
 				}).disposed(by: disposeBag)
 			}
 		}
@@ -158,6 +159,7 @@
 					self?.label_studyState.backgroundColor = UIColor(hexStr: "#318C10").withAlphaComponent(0.29)
 					self?.label_studyState.textColor = UIColor(hexStr: "#318C10")
 					self?.timeDuration = 0
+					NotificationCenter.default.post(name: UpdateWelfare_Noti, object: nil)
 				}).disposed(by: disposeBag)
 			}
 		}

--
Gitblit v1.7.1