Skip to content

Commit

Permalink
fixup! fixup! fixup! TW-1923: Update padding for back icon in chat se…
Browse files Browse the repository at this point in the history
…arch
  • Loading branch information
nqhhdev committed Dec 10, 2024
1 parent a22a28b commit 1490b6c
Showing 1 changed file with 3 additions and 53 deletions.
56 changes: 3 additions & 53 deletions lib/pages/new_private_chat/widget/no_contacts_found.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,59 +10,9 @@ class NoContactsFound extends StatelessWidget {
@override
Widget build(BuildContext context) {
return keyword != null
? Padding(
padding: const EdgeInsets.only(left: 8.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
L10n.of(context)!.noResultForKeyword(keyword!),
style: Theme.of(context).textTheme.titleLarge,
),
const SizedBox(
height: 8.0,
),
Text.rich(
TextSpan(
style: Theme.of(context).textTheme.bodyMedium,
children: [
TextSpan(
children: [
TextSpan(
text: L10n.of(context)!.searchResultNotFound1,
),
TextSpan(
text: L10n.of(context)!.searchResultNotFound2,
),
TextSpan(
text: L10n.of(context)!.searchResultNotFound3,
),
TextSpan(
text: L10n.of(context)!.searchResultNotFound4,
),
TextSpan(
text: L10n.of(context)!.searchResultNotFound5,
style: Theme.of(context)
.textTheme
.bodyMedium
?.copyWith(
color: Theme.of(context).colorScheme.primary,
),
),
],
),
],
),
),
const SizedBox(
height: 8.0,
),
const Align(
alignment: Alignment.center,
child: EmptySearchWidget(),
),
],
),
? const Align(
alignment: Alignment.center,
child: EmptySearchWidget(),
)
: SizedBox(
height: MediaQuery.sizeOf(context).height * 0.7,
Expand Down

0 comments on commit 1490b6c

Please sign in to comment.