kopia lustrzana https://gitlab.com/mysocialportal/relatica
Pretty up the account subtitles on sign in screen
rodzic
4255ac7dbc
commit
c7a83068c0
|
@ -206,7 +206,9 @@ class _SignInScreenState extends State<SignInScreen> {
|
|||
setState(() {});
|
||||
},
|
||||
title: Text(p.handle),
|
||||
subtitle: Text(p.id),
|
||||
subtitle: Text(p.credentials is BasicCredentials
|
||||
? 'Username/Password'
|
||||
: 'OAuth Login'),
|
||||
);
|
||||
},
|
||||
separatorBuilder: (_, __) => const Divider(),
|
||||
|
@ -237,10 +239,21 @@ class _SignInScreenState extends State<SignInScreen> {
|
|||
title: Text(
|
||||
p.handle,
|
||||
style: active
|
||||
? const TextStyle(fontWeight: FontWeight.bold)
|
||||
? const TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontStyle: FontStyle.italic)
|
||||
: null,
|
||||
),
|
||||
subtitle: Text(
|
||||
p.credentials is BasicCredentials
|
||||
? 'Username/Password'
|
||||
: 'OAuth Login',
|
||||
style: active
|
||||
? const TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontStyle: FontStyle.italic)
|
||||
: null,
|
||||
),
|
||||
subtitle: Text(p.id),
|
||||
);
|
||||
},
|
||||
separatorBuilder: (_, __) => const Divider(),
|
||||
|
|
Ładowanie…
Reference in New Issue