diff options
Diffstat (limited to 'platform/iphone/ios.mm')
-rw-r--r-- | platform/iphone/ios.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/iphone/ios.mm b/platform/iphone/ios.mm index 91e1e20fba..cd64bbfafc 100644 --- a/platform/iphone/ios.mm +++ b/platform/iphone/ios.mm @@ -33,7 +33,7 @@ void iOS::_bind_methods() { - ClassDB::bind_method(D_METHOD("get_rate_url","app_id"), &iOS::get_rate_url); + ClassDB::bind_method(D_METHOD("get_rate_url", "app_id"), &iOS::get_rate_url); }; String iOS::get_rate_url(int p_app_id) const { @@ -47,7 +47,7 @@ String iOS::get_rate_url(int p_app_id) const { if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0 && [[[UIDevice currentDevice] systemVersion] floatValue] < 7.1) { // iOS 7 needs a different templateReviewURL @see https://github.com/arashpayan/appirater/issues/131 ret = templ_iOS7; - } else if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0) { + } else if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0) { // iOS 8 needs a different templateReviewURL also @see https://github.com/arashpayan/appirater/issues/182 ret = templ_iOS8; } @@ -59,4 +59,4 @@ String iOS::get_rate_url(int p_app_id) const { return ret; }; -iOS::iOS() {}; +iOS::iOS(){}; |