设置特殊通道控件与倒计时同步更新。

This commit is contained in:
2026-04-18 21:09:27 +08:00
parent dd95e1ea6c
commit de89a326c0
2 changed files with 5 additions and 2 deletions

View File

@@ -270,6 +270,9 @@ public class LimitedTimeSpecialChannelView extends LinearLayout {
long remainingSeconds = intent.getLongExtra(LimitedTimeSpecialChannelService.EXTRA_REMAINING_SECONDS, 0);
if (mEtSeconds != null) {
mEtSeconds.setText(String.valueOf(remainingSeconds));
}
if (mSwEnable != null) {
mSwEnable.setChecked(remainingSeconds>0);
}
}
}