Fix text for small screens
This commit is contained in:
parent
1a604bfb5a
commit
347aff7059
|
@ -106,13 +106,13 @@ class OnboardingStepTen extends StatelessWidget {
|
|||
// ),
|
||||
|
||||
SizedBox(height: isTall ? 70 : 10),
|
||||
if (isTall)
|
||||
Text('${_generateWalletProvider.nbrWord + 1}',
|
||||
key: Key('askedWord'),
|
||||
style: TextStyle(
|
||||
fontSize: 17,
|
||||
color: Color(0xffD28928),
|
||||
fontWeight: FontWeight.w400)),
|
||||
|
||||
Text('${_generateWalletProvider.nbrWord + 1}',
|
||||
key: Key('askedWord'),
|
||||
style: TextStyle(
|
||||
fontSize: isTall ? 17 : 10,
|
||||
color: Color(0xffD28928),
|
||||
fontWeight: FontWeight.w400)),
|
||||
SizedBox(height: isTall ? 10 : 0),
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
|
|
|
@ -93,12 +93,15 @@ void main() {
|
|||
await getText('step7'), "C'est le moment de noter votre phrase !");
|
||||
|
||||
await tapOn('goStep8');
|
||||
await Future.delayed(const Duration(milliseconds: 50));
|
||||
await Future.delayed(const Duration(milliseconds: 200));
|
||||
|
||||
String goodWord = words[int.parse(
|
||||
await getText('askedWord'),
|
||||
)];
|
||||
|
||||
// await tapOn('inputWord');
|
||||
// await Future.delayed(const Duration(milliseconds: 500));
|
||||
|
||||
// Enter the expected word
|
||||
await driver.enterText(goodWord);
|
||||
|
||||
|
|
Loading…
Reference in New Issue