Skip to content

Commit

Permalink
TW-2099: Add divider for contacts tab
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhhdev authored and hoangdat committed Oct 30, 2024
1 parent 1e0e8b8 commit e59ab10
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/pages/contacts_tab/contacts_appbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ class ContactsAppBar extends StatelessWidget {
);
},
),
if (responsiveUtils.isMobile(context))
Divider(
height: ContactsAppbarStyle.dividerHeight,
thickness: ContactsAppbarStyle.dividerThickness,
color: LinagoraStateLayer(LinagoraSysColors.material().surfaceTint)
.opacityLayer3,
),
],
);
}
Expand Down
3 changes: 3 additions & 0 deletions lib/pages/contacts_tab/contacts_appbar_style.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,7 @@ class ContactsAppbarStyle {
bottom: 8.0,
);
static const trailingIconSize = 24.0;

static const dividerHeight = 1.0;
static const dividerThickness = 1.0;
}

0 comments on commit e59ab10

Please sign in to comment.