mirror of
https://github.com/koloideal/Casha.git
synced 2026-08-08 17:51:14 +03:00
update
This commit is contained in:
@@ -5,15 +5,15 @@ import '../../core/l10n/locale_provider.dart';
|
||||
import '../../core/services/haptic_service.dart';
|
||||
import '../providers/premium_provider.dart';
|
||||
|
||||
class ProSubscriptionCard extends ConsumerStatefulWidget {
|
||||
class ProSubscriptionCard extends StatefulWidget {
|
||||
const ProSubscriptionCard({super.key});
|
||||
|
||||
@override
|
||||
ConsumerState<ProSubscriptionCard> createState() =>
|
||||
State<ProSubscriptionCard> createState() =>
|
||||
_ProSubscriptionCardState();
|
||||
}
|
||||
|
||||
class _ProSubscriptionCardState extends ConsumerState<ProSubscriptionCard>
|
||||
class _ProSubscriptionCardState extends State<ProSubscriptionCard>
|
||||
with SingleTickerProviderStateMixin {
|
||||
late final AnimationController _shimmerController;
|
||||
|
||||
@@ -40,6 +40,8 @@ class _ProSubscriptionCardState extends ConsumerState<ProSubscriptionCard>
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Consumer(
|
||||
builder: (context, ref, _) {
|
||||
final s = ref.watch(stringsProvider);
|
||||
final isPremium = ref.watch(isPremiumProvider);
|
||||
|
||||
@@ -207,6 +209,8 @@ class _ProSubscriptionCardState extends ConsumerState<ProSubscriptionCard>
|
||||
],
|
||||
),
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user