fix(feedback): more visual and design improvements on mobile

This commit is contained in:
Jason Dreyzehner 2016-11-15 17:38:40 -05:00
commit dcbdb31ab3
5 changed files with 25 additions and 9 deletions

View file

@ -32,6 +32,7 @@ angular.module('copayApp.controllers').controller('completeController', function
$scope.$on("$ionicView.beforeEnter", function(event, data) {
if(window.StatusBar){
$log.debug('Hiding status bar...');
StatusBar.hide();
}
@ -83,8 +84,9 @@ angular.module('copayApp.controllers').controller('completeController', function
}, 100);
});
$scope.$on("$ionicView.afterLeave", function(event, data) {
$scope.$on("$ionicView.afterLeave", function() {
if(window.StatusBar){
$log.debug('Showing status bar...');
StatusBar.show();
}
});

View file

@ -29,6 +29,20 @@ angular.module('copayApp.controllers').controller('rateAppController', function(
});
};
$scope.$on("$ionicView.beforeEnter", function() {
if(window.StatusBar){
$log.debug('Hiding status bar...');
StatusBar.hide();
}
});
$scope.$on("$ionicView.afterLeave", function() {
if(window.StatusBar){
$log.debug('Showing status bar...');
StatusBar.show();
}
});
$scope.sendFeedback = function() {
$state.go('feedback.send', {
score: $scope.score