File no & UI changes

merge-update-with-lab-changes
haroon amjad 4 years ago
parent 1dcfe44e96
commit ade3cb0899

@ -286,7 +286,7 @@ class _CovidPaymentDetailsState extends State<CovidPaymentDetails> {
minWidth: MediaQuery.of(context).size.width * 0.7, minWidth: MediaQuery.of(context).size.width * 0.7,
height: 45.0, height: 45.0,
child: RaisedButton( child: RaisedButton(
color: CustomColors.darkGreyColor, color: CustomColors.accentColor,
textColor: Colors.white, textColor: Colors.white,
elevation: 0, elevation: 0,
disabledTextColor: Colors.white, disabledTextColor: Colors.white,
@ -295,11 +295,11 @@ class _CovidPaymentDetailsState extends State<CovidPaymentDetails> {
cancel(); cancel();
}, },
child: Text( child: Text(
TranslationBase.of(context).cancel, TranslationBase.of(context).cancel_nocaps,
style: TextStyle( style: TextStyle(
fontSize: 16.0, fontSize: 16.0,
letterSpacing: -0.48, letterSpacing: -0.48,
color: Colors.black, color: Colors.white,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
), ),
), ),
@ -318,7 +318,7 @@ class _CovidPaymentDetailsState extends State<CovidPaymentDetails> {
minWidth: MediaQuery.of(context).size.width * 0.7, minWidth: MediaQuery.of(context).size.width * 0.7,
height: 45.0, height: 45.0,
child: RaisedButton( child: RaisedButton(
color: CustomColors.accentColor, color: CustomColors.green,
textColor: Colors.white, textColor: Colors.white,
elevation: 0, elevation: 0,
disabledTextColor: Colors.white, disabledTextColor: Colors.white,

@ -146,7 +146,7 @@ class Utils {
} }
String loginIDPattern(loginType) { String loginIDPattern(loginType) {
var length = loginType == 1 ? 10 : 6; var length = loginType == 1 ? 10 : 4;
return "([0-9]{" + length.toString() + "})"; return "([0-9]{" + length.toString() + "})";
} }

Loading…
Cancel
Save