Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-02 12:10:39 +08:00
parent e56e216c59
commit 459d7cb9f1
8 changed files with 54 additions and 53 deletions

View File

@@ -39,9 +39,10 @@ class DynTopicController
Future<void> queryTop() async {
topState.value = await DynamicsHttp.topicTop(topicId: topicId);
if (topState.value.isSuccess) {
topicName = topState.value.data!.topicItem!.name!;
isFav.value = topState.value.data!.topicItem!.isFav;
isLike.value = topState.value.data!.topicItem!.isLike;
var topicItem = topState.value.data!.topicItem!;
topicName = topicItem.name!;
isFav.value = topicItem.isFav;
isLike.value = topicItem.isLike;
}
}