bug fixed
This commit is contained in:
@@ -49,7 +49,7 @@ class _RegisterPageState extends State<RegisterPage> {
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(20.0),
|
||||
child: Text(
|
||||
"Scan ID card/Passport".tr(),
|
||||
widget.isPassport?"Scan Passport".tr(): "Scan ID card".tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: GoogleFonts.kanit(
|
||||
color: Color(0xff65676b),
|
||||
@@ -58,7 +58,7 @@ class _RegisterPageState extends State<RegisterPage> {
|
||||
),
|
||||
),
|
||||
widget.isPassport?Container(
|
||||
width: MediaQuery.of(context).size.width * 0.8,
|
||||
width: MediaQuery.of(context).size.width * 0.6,
|
||||
child: Image(
|
||||
image: AssetImage('images/register/passport.png'),
|
||||
fit: BoxFit.cover,
|
||||
|
||||
Reference in New Issue
Block a user