mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-04 14:49:44 +08:00
IAP: Ignore user cancelled errors
This commit is contained in:
@ -186,7 +186,7 @@ class _PurchaseWidgetState extends State<PurchaseWidget> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _handleError(String err) {
|
void _handleError(String err) {
|
||||||
if (Platform.isAndroid) {
|
if (err.toLowerCase().contains("usercanceled")) {
|
||||||
Log.e(err);
|
Log.e(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user