mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-28 14:25:55 +08:00
@@ -39,8 +39,8 @@ class DynTopicController
|
||||
|
||||
Future<void> queryTop() async {
|
||||
topState.value = await DynamicsHttp.topicTop(topicId: topicId);
|
||||
if (topState.value.isSuccess) {
|
||||
final topicItem = topState.value.data!.topicItem!;
|
||||
if (topState.value case Success(:final response)) {
|
||||
final topicItem = response!.topicItem!;
|
||||
topicName = topicItem.name;
|
||||
isFav.value = topicItem.isFav;
|
||||
isLike.value = topicItem.isLike;
|
||||
|
||||
Reference in New Issue
Block a user