CWA-175 | added image to the new wallet page, changed font size of picker, changed size of picker's border, fixed ukrainian and russian translate of "seed"

This commit is contained in:
Oleksandr Sobol
2020-03-03 17:18:50 +02:00
parent 41dd48e80c
commit c83de7af6f
6 changed files with 15 additions and 10 deletions
@@ -73,6 +73,11 @@ class _WalletNameFormState extends State<WalletNameForm> {
return ScrollableWithBottomSection(
content: Column(children: [
Padding(
padding: EdgeInsets.only(bottom: 10),
child: Image.asset('assets/images/bitmap.png',
height: 224, width: 400),
),
Padding(
padding: EdgeInsets.only(left: 20, right: 20, bottom: 20),
child: Form(
@@ -103,7 +108,7 @@ class _WalletNameFormState extends State<WalletNameForm> {
child: Text(
S.of(context).seed_language_choose,
textAlign: TextAlign.center,
style: TextStyle(fontSize: 19.0),
style: TextStyle(fontSize: 16.0),
),
),
Padding(padding: EdgeInsets.only(left: 20, right: 20, bottom: 20),
@@ -27,7 +27,7 @@ class SeedLanguage extends BasePage {
Text(
S.of(context).seed_language_choose,
textAlign: TextAlign.center,
style: TextStyle(fontSize: 19.0),
style: TextStyle(fontSize: 16.0),
),
SizedBox(
height: 20.0,
@@ -26,17 +26,17 @@ class SeedLanguagePicker extends StatelessWidget {
builder: (_) => InkWell(
onTap: () => _setSeedLanguage(context),
child: Container(
padding: EdgeInsets.all(10.0),
width: double.infinity,
padding: EdgeInsets.all(8.0),
//width: double.infinity,
decoration: BoxDecoration(
border: Border.all(
color: Theme.of(context).dividerTheme.color
),
borderRadius: BorderRadius.circular(10.0)
borderRadius: BorderRadius.circular(8.0)
),
child: Text(seedLocales[seedLanguages.indexOf(seedLanguageStore.selectedSeedLanguage)],
textAlign: TextAlign.center,
style: TextStyle(fontSize: 19.0, color: Palette.lightBlue),
style: TextStyle(fontSize: 16.0, color: Palette.lightBlue),
),
),
));