Menardi commented on a change in pull request #98: Add `getStatusBarHeight` 
method for Android
URL: 
https://github.com/apache/cordova-plugin-statusbar/pull/98#discussion_r203617460
 
 

 ##########
 File path: www/statusbar.js
 ##########
 @@ -93,6 +93,13 @@ var StatusBar = {
     show: function () {
         exec(null, null, "StatusBar", "show", []);
         StatusBar.isVisible = true;
+    },
+
+    getStatusBarHeight: function (successCallback, errorCallback) {
+        exec(function (result) {
+            successCallback(result);
+        }, errorCallback, "StatusBar", "getStatusBarHeight", []);
+        StatusBar.isVisible = true;
 
 Review comment:
   This looks like it's left over from a copy-paste of `show`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to