Skip to content

Commit

Permalink
TW-503: Update UI for ContactSelectionView
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhhdev authored and hoangdat committed Sep 7, 2023
1 parent 4341502 commit 6cd1f04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion lib/pages/new_group/contacts_selection_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class ContactsSelectionView extends StatelessWidget {
backgroundColor: controller.isFullScreen ? null : Colors.transparent,
appBar: PreferredSize(
preferredSize: SearchableAppBarStyle.preferredSize(
context,
isFullScreen: controller.isFullScreen,
),
child: SearchableAppBar(
Expand Down
13 changes: 6 additions & 7 deletions lib/pages/new_group/widget/contacts_selection_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,7 @@ class ContactsSelectionList extends StatelessWidget {
top: paddingTop,
),
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Expanded(
child: ExpansionContactListTile(
contact: contact,
),
),
ValueListenableBuilder<bool>(
valueListenable: contactNotifier,
builder: (context, isCurrentSelected, child) {
Expand All @@ -125,7 +119,12 @@ class ContactsSelectionList extends StatelessWidget {
},
);
},
)
),
Expanded(
child: ExpansionContactListTile(
contact: contact,
),
),
],
),
),
Expand Down

0 comments on commit 6cd1f04

Please sign in to comment.