Merge branch 'fix' into alpha

This commit is contained in:
guozhigq
2023-10-22 16:19:19 +08:00
2 changed files with 9 additions and 1 deletions

View File

@ -61,12 +61,15 @@ class VideoIntroController extends GetxController {
RxString total = '1'.obs;
Timer? timer;
bool isPaused = false;
String heroTag = Get.arguments['heroTag'];
String heroTag = '';
@override
void onInit() {
super.onInit();
userInfo = userInfoCache.get('userInfoCache');
try {
heroTag = Get.arguments['heroTag'];
} catch (_) {}
if (Get.arguments.isNotEmpty) {
if (Get.arguments.containsKey('videoItem')) {
preRender = true;