fix languages in settings
This commit is contained in:
parent
6424e82d54
commit
023db31270
4 changed files with 159 additions and 41 deletions
|
|
@ -28,7 +28,7 @@ class SettingsMenuWidget extends StatelessWidget {
|
|||
final language = await blocSetLanguage(context, newValue);
|
||||
if (language) {
|
||||
// ignore: use_build_context_synchronously
|
||||
context.pop(true);
|
||||
context.pop();
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ class SettingsMenuWidget extends StatelessWidget {
|
|||
GestureDetector(
|
||||
onTap: () => setNewValue(item),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 8),
|
||||
padding: const EdgeInsets.symmetric(vertical: 16),
|
||||
child: TextWidget(text: item, size: 12, color: const Color.fromRGBO(255, 255, 255, 1)),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue