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,
|
||||
builder: (context, snapshot) => AppBarTitleContainer(
|
||||
title: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
account.scheme == "http"
|
||||
? Icon(
|
||||
|
@ -101,12 +102,10 @@ class _TitleView extends StatelessWidget {
|
|||
color: Theme.of(context).colorScheme.primary,
|
||||
size: 16,
|
||||
),
|
||||
Expanded(
|
||||
child: Text(
|
||||
snapshot.data ?? account.address,
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.clip,
|
||||
),
|
||||
Text(
|
||||
snapshot.data ?? account.address,
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.clip,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
@ -161,8 +161,11 @@ class _SearchLandingState extends State<SearchLanding> {
|
|||
if (isNoResult)
|
||||
SizedBox(
|
||||
height: 48,
|
||||
child: Center(
|
||||
child: Text(L10n.global().searchLandingPeopleListEmptyText2),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 32),
|
||||
child: Center(
|
||||
child: Text(L10n.global().searchLandingPeopleListEmptyText2),
|
||||
),
|
||||
),
|
||||
)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue