TF-381 Apply new UI for MailboxView in browser
This commit is contained in:
@@ -739,12 +739,6 @@ class ThreadController extends BaseController {
|
||||
}
|
||||
|
||||
void composeEmailAction() {
|
||||
if (kIsWeb) {
|
||||
if (mailboxDashBoardController.dashBoardAction != DashBoardAction.compose) {
|
||||
mailboxDashBoardController.dispatchDashBoardAction(DashBoardAction.compose, arguments: ComposerArguments());
|
||||
}
|
||||
} else {
|
||||
push(AppRoutes.COMPOSER, arguments: ComposerArguments());
|
||||
}
|
||||
mailboxDashBoardController.composeEmailAction();
|
||||
}
|
||||
}
|
||||
@@ -143,6 +143,7 @@ class ThreadView extends GetWidget<ThreadController> {
|
||||
|
||||
Widget _buildOptionTopBar(BuildContext context) {
|
||||
return Row(children: [
|
||||
SizedBox(width: 16),
|
||||
(ButtonBuilder(_imagePaths.icRefresh)
|
||||
..key(Key('button_reload_thread'))
|
||||
..decoration(BoxDecoration(borderRadius: BorderRadius.circular(10), color: AppColor.colorButtonHeaderThread))
|
||||
|
||||
@@ -108,11 +108,12 @@ class SearchAppBarWidget {
|
||||
|
||||
Widget _buildBackButton() {
|
||||
return Material(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
shape: CircleBorder(),
|
||||
color: Colors.transparent,
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(left: 8),
|
||||
child: IconButton(
|
||||
splashRadius: 20,
|
||||
color: AppColor.appColor,
|
||||
icon: SvgPicture.asset(_imagePaths.icBack, color: AppColor.appColor, fit: BoxFit.fill),
|
||||
onPressed: () {
|
||||
@@ -126,9 +127,10 @@ class SearchAppBarWidget {
|
||||
|
||||
Widget _buildClearTextSearchButton() {
|
||||
return Material(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
shape: CircleBorder(),
|
||||
color: Colors.transparent,
|
||||
child: IconButton(
|
||||
splashRadius: 20,
|
||||
padding: EdgeInsets.zero,
|
||||
icon: _iconClearText ?? SvgPicture.asset(_imagePaths.icComposerClose, fit: BoxFit.fill),
|
||||
onPressed: () {
|
||||
@@ -163,9 +165,10 @@ class SearchAppBarWidget {
|
||||
|
||||
Widget _buildSearchButton() {
|
||||
return Material(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
shape: CircleBorder(),
|
||||
color: Colors.transparent,
|
||||
child: IconButton(
|
||||
splashRadius: 20,
|
||||
icon: SvgPicture.asset(_imagePaths.icSearchBar, width: 18, height: 18, fit: BoxFit.fill),
|
||||
onPressed: () => _onSearchTextAction?.call(_searchInputController?.text ?? '')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user