var indicator = {}

indicator.show = function() {
  var hud = MBProgressHUD.showHUDAddedToAnimated(this._getRootWindow(), true);
  hud.dimBackground = true;
};

indicator.hide = function() {
  MBProgressHUD.hideHUDForViewAnimated(this._getRootWindow(), true);
};

indicator._getRootWindow = function() {
  return UIApplication.sharedApplication().windows[0];
}

module.exports = indicator;

var indicator = {}

indicator.show = function() {
  MBProgressHUD.showHUDAddedToAnimated(this._getRootWindow(), true);
};

indicator.hide = function() {
  MBProgressHUD.hideHUDForViewAnimated(this._getRootWindow(), true);
};

indicator._getRootWindow = function() {
  return UIApplication.sharedApplication().windows[0];
}

module.exports = indicator;

Remove dim background, it's a bit stark.
Remove dim background, it's a bit stark.
