fixed appearing things if other things are thinging

This commit is contained in:
Kima 2024-02-18 14:13:03 +01:00
parent 5eec61a7a9
commit 9b0beff9de

View File

@ -628,6 +628,10 @@ class PersonalizeSettingsScreenState extends State<PersonalizeSettingsScreen>
// isSeparated: true,
// children: [],
// ),
if (settingsProvider.renamedSubjectsEnabled ||
settingsProvider.renamedTeachersEnabled)
Column(
children: [
const SizedBox(
height: 18.0,
),
@ -683,7 +687,8 @@ class PersonalizeSettingsScreenState extends State<PersonalizeSettingsScreen>
iconDisabledColor: AppColors.of(context).text,
underline: const SizedBox(),
itemHeight: 40,
itemPadding: const EdgeInsets.only(left: 14, right: 14),
itemPadding:
const EdgeInsets.only(left: 14, right: 14),
buttonWidth: 50,
dropdownWidth: 300,
dropdownPadding: null,
@ -703,14 +708,17 @@ class PersonalizeSettingsScreenState extends State<PersonalizeSettingsScreen>
title: Text(
"select_subject".i18n,
style: TextStyle(
color:
AppColors.of(context).text.withOpacity(.95),
color: AppColors.of(context)
.text
.withOpacity(.95),
),
),
leading: Icon(
FeatherIcons.plus,
size: 22.0,
color: AppColors.of(context).text.withOpacity(.95),
color: AppColors.of(context)
.text
.withOpacity(.95),
),
borderRadius: const BorderRadius.vertical(
top: Radius.circular(12.0),
@ -722,6 +730,8 @@ class PersonalizeSettingsScreenState extends State<PersonalizeSettingsScreen>
),
],
),
],
),
),
),
),