|
|
@ -6,6 +6,7 @@ import 'dart:convert'; |
|
|
import 'package:crypto/crypto.dart'; |
|
|
import 'package:crypto/crypto.dart'; |
|
|
|
|
|
|
|
|
import 'package:get_storage/get_storage.dart'; |
|
|
import 'package:get_storage/get_storage.dart'; |
|
|
|
|
|
import '../../../core/utils/app_features.dart'; |
|
|
import '../../../core/utils/logger.dart'; |
|
|
import '../../../core/utils/logger.dart'; |
|
|
import 'entity/base_entity.dart'; |
|
|
import 'entity/base_entity.dart'; |
|
|
import '../../../routes/app_routes.dart'; |
|
|
import '../../../routes/app_routes.dart'; |
|
|
@ -154,13 +155,14 @@ class AuthInterceptor extends Interceptor { |
|
|
onPressed: () => Get.back(), |
|
|
onPressed: () => Get.back(), |
|
|
child: Text('cancel'.tr), |
|
|
child: Text('cancel'.tr), |
|
|
), |
|
|
), |
|
|
TextButton( |
|
|
if (AppFeatures.rechargeEnabled) |
|
|
onPressed: () { |
|
|
TextButton( |
|
|
Get.back(); |
|
|
onPressed: () { |
|
|
Get.toNamed(Routes.goodsvip); |
|
|
Get.back(); |
|
|
}, |
|
|
Get.toNamed(Routes.goodsvip); |
|
|
child: Text('vipRequiredGo'.tr), |
|
|
}, |
|
|
), |
|
|
child: Text('vipRequiredGo'.tr), |
|
|
|
|
|
), |
|
|
], |
|
|
], |
|
|
), |
|
|
), |
|
|
barrierDismissible: true, |
|
|
barrierDismissible: true, |
|
|
|