mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-02 04:47:01 +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) {
|
||||
if (Platform.isAndroid) {
|
||||
if (err.toLowerCase().contains("usercanceled")) {
|
||||
Log.e(err);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user