mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Tweak UI style
This commit is contained in:
parent
cadf9c7410
commit
3817b16847
2 changed files with 10 additions and 8 deletions
|
@ -89,6 +89,7 @@ class _TitleView extends StatelessWidget {
|
||||||
context.read<AccountController>().accountPrefController.accountLabel,
|
context.read<AccountController>().accountPrefController.accountLabel,
|
||||||
builder: (context, snapshot) => AppBarTitleContainer(
|
builder: (context, snapshot) => AppBarTitleContainer(
|
||||||
title: Row(
|
title: Row(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
account.scheme == "http"
|
account.scheme == "http"
|
||||||
? Icon(
|
? Icon(
|
||||||
|
@ -101,12 +102,10 @@ class _TitleView extends StatelessWidget {
|
||||||
color: Theme.of(context).colorScheme.primary,
|
color: Theme.of(context).colorScheme.primary,
|
||||||
size: 16,
|
size: 16,
|
||||||
),
|
),
|
||||||
Expanded(
|
Text(
|
||||||
child: Text(
|
snapshot.data ?? account.address,
|
||||||
snapshot.data ?? account.address,
|
maxLines: 1,
|
||||||
maxLines: 1,
|
overflow: TextOverflow.clip,
|
||||||
overflow: TextOverflow.clip,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
|
@ -161,8 +161,11 @@ class _SearchLandingState extends State<SearchLanding> {
|
||||||
if (isNoResult)
|
if (isNoResult)
|
||||||
SizedBox(
|
SizedBox(
|
||||||
height: 48,
|
height: 48,
|
||||||
child: Center(
|
child: Padding(
|
||||||
child: Text(L10n.global().searchLandingPeopleListEmptyText2),
|
padding: const EdgeInsets.symmetric(horizontal: 32),
|
||||||
|
child: Center(
|
||||||
|
child: Text(L10n.global().searchLandingPeopleListEmptyText2),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue