1
0
forked from baron/baron-sso

style: format dart files to pass formatting check

This commit is contained in:
2026-04-28 13:03:29 +09:00
parent ff7a786c21
commit e3f9bbf925
2 changed files with 10 additions and 6 deletions

View File

@@ -849,10 +849,10 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
final userName = (profile?.name.trim().isNotEmpty ?? false)
? profile!.name
: (profile?.email.trim().isNotEmpty ?? false)
? profile!.email
: (profile?.phone.trim().isNotEmpty ?? false)
? profile!.phone
: tr('ui.userfront.profile.user_fallback', fallback: 'User');
? profile!.email
: (profile?.phone.trim().isNotEmpty ?? false)
? profile!.phone
: tr('ui.userfront.profile.user_fallback', fallback: 'User');
final departmentValue =
profile?.tenant?.name ?? profile?.department ?? '';
final department = departmentValue.isNotEmpty