mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-26 21:35:49 +08:00
opt: remove params check
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -21,10 +21,8 @@ class SubDetailController
|
||||
super.onInit();
|
||||
item = Get.arguments;
|
||||
playCount.value = item.viewCount!;
|
||||
if (Get.parameters.keys.isNotEmpty) {
|
||||
id = int.parse(Get.parameters['id']!);
|
||||
heroTag = Get.parameters['heroTag']!;
|
||||
}
|
||||
id = int.parse(Get.parameters['id']!);
|
||||
heroTag = Get.parameters['heroTag']!;
|
||||
queryData();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user