This commit is contained in:
Vadim 2024-07-23 20:57:56 +02:00
parent cac6118aec
commit 0780e9b02f

View file

@ -10,7 +10,7 @@ class RestorePurchasesListTile extends StatelessWidget {
return ListTile(
leading: const Icon(Icons.restore_outlined),
title: Text(S.of(context).restorePurchases),
onTap: IAPProductsProvider.of(context).restorePurchases,
onTap: IAPProductsProvider.maybeOf(context)?.restorePurchases,
);
}
}