mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 15:00:40 +00:00
NPE
This commit is contained in:
parent
cac6118aec
commit
0780e9b02f
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue