TF-1611 Fix border and padding banner vacation
(cherry picked from commit 0d50f922fbd510b5c098a482affd611dcd8e64a6)
This commit is contained in:
@@ -148,15 +148,11 @@ class EmailView extends GetWidget<SingleEmailController> {
|
|||||||
(responsiveUtils.isMobile(context) ||
|
(responsiveUtils.isMobile(context) ||
|
||||||
responsiveUtils.isTablet(context) ||
|
responsiveUtils.isTablet(context) ||
|
||||||
responsiveUtils.isLandscapeMobile(context))) {
|
responsiveUtils.isLandscapeMobile(context))) {
|
||||||
return Padding(
|
return VacationNotificationMessageWidget(
|
||||||
padding: const EdgeInsets.only(bottom: 5),
|
margin: const EdgeInsets.only(left: 12, right: 12, bottom: 5),
|
||||||
child: VacationNotificationMessageWidget(
|
vacationResponse: vacation!,
|
||||||
radius: 0,
|
actionGotoVacationSetting: controller.mailboxDashBoardController.goToVacationSetting,
|
||||||
margin: EdgeInsets.zero,
|
actionEndNow: controller.mailboxDashBoardController.disableVacationResponder);
|
||||||
vacationResponse: vacation!,
|
|
||||||
actionGotoVacationSetting: () => controller.mailboxDashBoardController.goToVacationSetting(),
|
|
||||||
actionEndNow: () => controller.mailboxDashBoardController.disableVacationResponder()),
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
return const SizedBox.shrink();
|
return const SizedBox.shrink();
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -106,7 +106,7 @@ class VacationNotificationMessageWidget extends StatelessWidget {
|
|||||||
if (leadingIcon != null) leadingIcon!,
|
if (leadingIcon != null) leadingIcon!,
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.only(right: 12),
|
padding: const EdgeInsets.only(right: 12, top: 12),
|
||||||
child: Center(
|
child: Center(
|
||||||
child: Text(
|
child: Text(
|
||||||
vacationResponse.getNotificationMessage(context),
|
vacationResponse.getNotificationMessage(context),
|
||||||
|
|||||||
Reference in New Issue
Block a user