mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 23:10: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(
|
return ListTile(
|
||||||
leading: const Icon(Icons.restore_outlined),
|
leading: const Icon(Icons.restore_outlined),
|
||||||
title: Text(S.of(context).restorePurchases),
|
title: Text(S.of(context).restorePurchases),
|
||||||
onTap: IAPProductsProvider.of(context).restorePurchases,
|
onTap: IAPProductsProvider.maybeOf(context)?.restorePurchases,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue