修复锁详情页面底部滑动到配件区 上面的指示器未刷新问题

This commit is contained in:
Daisy 2024-03-25 15:17:55 +08:00
parent 10c26668c1
commit c6e31dccc7

View File

@ -184,7 +184,7 @@ class _LockDetailPageState extends State<LockDetailPage>
SizedBox(
height: 10.h,
),
buildPageIndicator(),
Obx(() => buildPageIndicator()),
Expanded(
child: Container(
margin: EdgeInsets.only(left: 10.w, right: 10.w, top: 30.h),
@ -1000,7 +1000,8 @@ class _LockDetailPageState extends State<LockDetailPage>
state.closedUnlockSuccessfulTimer?.cancel();
_lockRefreshLockDetailInfoDataEvent?.cancel();
state.replySubscription.cancel();
state.lockSetOpenOrCloseCheckInRefreshLockDetailWithAttendanceEvent!.cancel();
state.lockSetOpenOrCloseCheckInRefreshLockDetailWithAttendanceEvent!
.cancel();
if (state.animationController != null) {
state.animationController!.dispose();