fix(feedback): improve design on iOS
This commit is contained in:
parent
ad985f25c1
commit
dfcd60e1ef
9 changed files with 35 additions and 21 deletions
|
|
@ -31,6 +31,10 @@ angular.module('copayApp.controllers').controller('completeController', function
|
|||
};
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
if(window.StatusBar){
|
||||
StatusBar.show();
|
||||
}
|
||||
|
||||
storageService.getFeedbackInfo(function(error, info) {
|
||||
var feedbackInfo = JSON.parse(info);
|
||||
feedbackInfo.sent = true;
|
||||
|
|
@ -78,4 +82,10 @@ angular.module('copayApp.controllers').controller('completeController', function
|
|||
}
|
||||
}, 100);
|
||||
});
|
||||
|
||||
$scope.$on("$ionicView.afterLeave", function(event, data) {
|
||||
if(window.StatusBar){
|
||||
StatusBar.show();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -57,11 +57,11 @@ angular.module('copayApp.controllers').controller('sendController', function($sc
|
|||
break;
|
||||
case 5:
|
||||
$scope.reaction = gettextCatalog.getString("Thank you!");
|
||||
$scope.comment = gettextCatalog.getString("We're always looking for ways to improve BitPay wallet.") + ' ' + gettextCatalog.getString("Is there anything we could do better?");
|
||||
$scope.comment = gettextCatalog.getString("We're always looking for ways to improve BitPay.") + ' ' + gettextCatalog.getString("Is there anything we could do better?");
|
||||
break;
|
||||
default:
|
||||
$scope.reaction = gettextCatalog.getString("Feedback!");
|
||||
$scope.comment = gettextCatalog.getString("We're always looking for ways to improve BitPay wallet. How could we improve your experience?");
|
||||
$scope.comment = gettextCatalog.getString("We're always looking for ways to improve BitPay. How could we improve your experience?");
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
.subtitle {
|
||||
padding: 10px 30px 20px 40px;
|
||||
text-align: center;
|
||||
color: $mid-gray;
|
||||
}
|
||||
.icon-svg > img {
|
||||
height: 16rem;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#rate-app {
|
||||
background-color: #ffffff;
|
||||
.skip {
|
||||
margin: 10px;
|
||||
margin-top: 15px;
|
||||
color: #667;
|
||||
}
|
||||
.icon-svg > img {
|
||||
|
|
@ -18,6 +18,7 @@
|
|||
}
|
||||
.subtitle {
|
||||
padding: 10px 30px 20px 40px;
|
||||
color: #667;
|
||||
}
|
||||
.buttons {
|
||||
bottom: 0;
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
#send-feedback {
|
||||
background-color: #ffffff;
|
||||
.row {
|
||||
padding: 20px;
|
||||
border: none;
|
||||
}
|
||||
.skip {
|
||||
margin: 8px 20px 10px;
|
||||
color: #667;
|
||||
text-decoration: none;
|
||||
color: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
.feedback-heading {
|
||||
padding-top: 20px
|
||||
}
|
||||
.title {
|
||||
padding-left: 10px;
|
||||
|
|
@ -20,17 +20,17 @@
|
|||
padding-right: 15px;
|
||||
}
|
||||
.comment {
|
||||
padding: 20px;
|
||||
padding: 0 20px 20px;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5em;
|
||||
font-weight: 300;
|
||||
color: $dark-gray;
|
||||
}
|
||||
textarea {
|
||||
padding: 20px;
|
||||
.user-feedback {
|
||||
border-top: 1px solid $subtle-gray;
|
||||
padding: 20px;
|
||||
width: 100%;
|
||||
height: 6rem;
|
||||
}
|
||||
.send-feedback-star {
|
||||
height: 1rem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue