fixed profile crash
This commit is contained in:
parent
129a95f359
commit
a9bd11a4d7
@ -41,9 +41,8 @@ class WelcomeMessagePanelButton extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
title: Text("welcome_msg".i18n),
|
title: Text("welcome_msg".i18n),
|
||||||
leading: const Icon(FeatherIcons.smile),
|
leading: const Icon(FeatherIcons.smile),
|
||||||
trailing: SizedBox(
|
trailing: Container(
|
||||||
width: 100,
|
constraints: const BoxConstraints(maxWidth: 100),
|
||||||
child: Expanded(
|
|
||||||
child: Text(
|
child: Text(
|
||||||
settingsProvider.welcomeMessage.replaceAll(' ', '') != ''
|
settingsProvider.welcomeMessage.replaceAll(' ', '') != ''
|
||||||
? localizeFill(
|
? localizeFill(
|
||||||
@ -57,7 +56,6 @@ class WelcomeMessagePanelButton extends StatelessWidget {
|
|||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user