Skip to content
Snippets Groups Projects
Commit 51774aca authored by guenoel's avatar guenoel Committed by poka
Browse files

fix layout on settings screen on iOS

parent fd5d20ec
Branches
Tags
No related merge requests found
Pipeline #18899 waiting for manual action
...@@ -146,9 +146,9 @@ class SettingsScreen extends StatelessWidget { ...@@ -146,9 +146,9 @@ class SettingsScreen extends StatelessWidget {
child: Row(children: [ child: Row(children: [
const SizedBox(width: 10), const SizedBox(width: 10),
SizedBox( SizedBox(
width: 100, width: 80,
child: Text( child: Text(
'currencyNode'.tr(args: [currencyName]), 'currencyNode'.tr(args: ['']),
), ),
), ),
const Spacer(), const Spacer(),
...@@ -159,7 +159,7 @@ class SettingsScreen extends StatelessWidget { ...@@ -159,7 +159,7 @@ class SettingsScreen extends StatelessWidget {
const Icon(Icons.add_card_sharp, size: 0.01), const Icon(Icons.add_card_sharp, size: 0.01),
const Spacer(), const Spacer(),
SizedBox( SizedBox(
width: 265, width: 280,
child: Consumer<SettingsProvider>(builder: (context, set, _) { child: Consumer<SettingsProvider>(builder: (context, set, _) {
return DropdownButtonHideUnderline( return DropdownButtonHideUnderline(
key: keySelectDuniterNodeDropDown, key: keySelectDuniterNodeDropDown,
...@@ -299,7 +299,7 @@ class SettingsScreen extends StatelessWidget { ...@@ -299,7 +299,7 @@ class SettingsScreen extends StatelessWidget {
child: Row(children: [ child: Row(children: [
const SizedBox(width: 10), const SizedBox(width: 10),
const SizedBox( const SizedBox(
width: 100, width: 80,
// child: Text('indexer'.tr()), // why translation does not work?? // child: Text('indexer'.tr()), // why translation does not work??
child: Text('Indexer'), child: Text('Indexer'),
), ),
...@@ -307,7 +307,7 @@ class SettingsScreen extends StatelessWidget { ...@@ -307,7 +307,7 @@ class SettingsScreen extends StatelessWidget {
Icon(indexerEndpoint != '' ? Icons.check : Icons.close), Icon(indexerEndpoint != '' ? Icons.check : Icons.close),
const Spacer(), const Spacer(),
SizedBox( SizedBox(
width: 265, width: 280,
child: Consumer<SettingsProvider>(builder: (context, set, _) { child: Consumer<SettingsProvider>(builder: (context, set, _) {
return DropdownButtonHideUnderline( return DropdownButtonHideUnderline(
child: DropdownButton( child: DropdownButton(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment