mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-07 18:47:50 +08:00
refresh live msg if needed
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -187,7 +187,9 @@ class _LiveRoomPageState extends State<LiveRoomPage>
|
||||
void didChangeAppLifecycleState(AppLifecycleState state) {
|
||||
if (plPlayerController.visible = state == .resumed) {
|
||||
if (!plPlayerController.showDanmaku) {
|
||||
_liveRoomController.startLiveTimer();
|
||||
_liveRoomController
|
||||
..refreshMsgIfNeeded()
|
||||
..startLiveTimer();
|
||||
plPlayerController.showDanmaku = true;
|
||||
}
|
||||
} else if (state == .paused) {
|
||||
|
||||
Reference in New Issue
Block a user