深色模式、首页设置页面和功能优化
This commit is contained in:
@@ -186,6 +186,12 @@ class PersonalCardState extends State<PersonalCard> {
|
||||
_isExpanded = newIsExpanded;
|
||||
});
|
||||
}
|
||||
// 监听currentPage变化,触发UI更新
|
||||
if (oldWidget.currentPage != widget.currentPage) {
|
||||
setState(() {
|
||||
// currentPage变化,触发UI重新构建
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
void _toggleExpand() {
|
||||
|
||||
Reference in New Issue
Block a user