TF-1194 change icon deleteDialogRecipients and add new deleteDialogIdentity
This commit is contained in:
@@ -1,12 +1,4 @@
|
|||||||
<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
<rect width="64" height="64" rx="16" fill="#F2F3F5" />
|
<rect width="64" height="64" rx="16" fill="#F2F3F5"/>
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd"
|
<path d="M32 17.7142C34.7159 17.7142 36.486 19.124 37.0535 21.7137L44 21.7142C44.6312 21.7142 45.1429 22.2259 45.1429 22.8571C45.1429 23.4883 44.6312 23.9999 44 23.9999H42.7372L40.8946 41.5017C40.7109 43.2467 39.2394 44.5714 37.4848 44.5714H26.5152C24.7606 44.5714 23.2892 43.2467 23.1055 41.5017L21.2629 23.9999H20C19.3689 23.9999 18.8572 23.4883 18.8572 22.8571C18.8572 22.2259 19.3689 21.7142 20 21.7142L26.9466 21.7137C27.5141 19.124 29.2842 17.7142 32 17.7142ZM40.4377 23.9999H23.5612L25.3786 41.2624C25.4399 41.8441 25.9304 42.2857 26.5152 42.2857H37.4848C38.0697 42.2857 38.5602 41.8441 38.6214 41.2624L40.4377 23.9999ZM32 26.2857C32.6312 26.2857 33.1429 26.7973 33.1429 27.4285V38.8571C33.1429 39.4883 32.6312 39.9999 32 39.9999C31.3689 39.9999 30.8572 39.4883 30.8572 38.8571V27.4285C30.8572 26.7973 31.3689 26.2857 32 26.2857ZM36.6285 26.2871C37.2589 26.3186 37.7444 26.8552 37.7129 27.4856L37.1415 38.9142C37.1099 39.5446 36.5734 40.03 35.943 39.9985C35.3126 39.967 34.8271 39.4304 34.8586 38.8L35.43 27.3714C35.4615 26.7411 35.9981 26.2556 36.6285 26.2871ZM27.3715 26.2871C28.0019 26.2556 28.5385 26.7411 28.57 27.3714L29.1415 38.8C29.173 39.4304 28.6875 39.967 28.0571 39.9985C27.4267 40.03 26.8901 39.5446 26.8586 38.9142L26.2872 27.4856C26.2557 26.8552 26.7411 26.3186 27.3715 26.2871ZM32 19.9999C30.5524 19.9999 29.7147 20.5189 29.3118 21.7137H34.6882C34.2854 20.5189 33.4477 19.9999 32 19.9999Z" fill="#007AFF"/>
|
||||||
d="M28.5083 26.8595C27.8781 26.8945 27.3956 27.4337 27.4306 28.064L28.002 38.3497C28.037 38.9799 28.5763 39.4624 29.2065 39.4274C29.8367 39.3924 30.3192 38.8531 30.2842 38.2229L29.7128 27.9372C29.6778 27.307 29.1385 26.8244 28.5083 26.8595Z"
|
|
||||||
fill="#E64646" />
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
||||||
d="M35.4922 26.8595C36.1225 26.8945 36.605 27.4337 36.5699 28.064L35.9985 38.3497C35.9635 38.9799 35.4242 39.4624 34.794 39.4274C34.1638 39.3924 33.6813 38.8531 33.7163 38.2229L34.2878 27.9372C34.3228 27.307 34.862 26.8244 35.4922 26.8595Z"
|
|
||||||
fill="#E64646" />
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
||||||
d="M20.0003 21.7148C19.3691 21.7148 18.8574 22.2265 18.8574 22.8577C18.8574 23.4889 19.3691 24.0006 20.0003 24.0006H21.2529L22.7358 38.655C22.8202 39.4889 22.8901 40.18 22.9917 40.7422C23.0977 41.3283 23.2517 41.8623 23.5501 42.3581C24.0155 43.1313 24.6994 43.7494 25.5155 44.1346C26.0388 44.3816 26.5856 44.4811 27.1794 44.5275C27.749 44.572 28.4436 44.572 29.2819 44.572H34.7187C35.5569 44.572 36.2515 44.572 36.8211 44.5275C37.4149 44.4811 37.9617 44.3816 38.485 44.1346C39.3012 43.7494 39.985 43.1313 40.4504 42.3581C40.7488 41.8623 40.9029 41.3283 41.0088 40.7422C41.1104 40.18 41.1803 39.4889 41.2647 38.655L42.7476 24.0006H44.0003C44.6315 24.0006 45.1431 23.4889 45.1431 22.8577C45.1431 22.2265 44.6315 21.7148 44.0003 21.7148H37.0157C36.496 19.4246 34.4478 17.7148 32.0003 17.7148C29.5527 17.7148 27.5045 19.4246 26.9849 21.7148H20.0003ZM25.0055 38.3806C25.0954 39.2699 25.1572 39.8717 25.241 40.3357C25.3224 40.7857 25.4106 41.0167 25.5084 41.1793C25.7412 41.5659 26.0831 41.875 26.4912 42.0676C26.6628 42.1486 26.9015 42.2131 27.3574 42.2487C27.8275 42.2855 28.4324 42.2863 29.3263 42.2863H34.6743C35.5681 42.2863 36.1731 42.2855 36.6431 42.2487C37.0991 42.2131 37.3378 42.1486 37.5094 42.0676C37.9175 41.875 38.2594 41.5659 38.4921 41.1793C38.59 41.0167 38.6782 40.7857 38.7595 40.3357C38.8434 39.8717 38.9051 39.2699 38.9951 38.3806L40.4502 24.0006H23.5503L25.0055 38.3806ZM32.0003 20.0006C30.8287 20.0006 29.8218 20.7058 29.3809 21.7148H34.6197C34.1788 20.7058 33.1719 20.0006 32.0003 20.0006Z"
|
|
||||||
fill="#E64646" />
|
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,12 @@
|
|||||||
|
<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<rect width="64" height="64" rx="16" fill="#F2F3F5" />
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
|
d="M28.5083 26.8595C27.8781 26.8945 27.3956 27.4337 27.4306 28.064L28.002 38.3497C28.037 38.9799 28.5763 39.4624 29.2065 39.4274C29.8367 39.3924 30.3192 38.8531 30.2842 38.2229L29.7128 27.9372C29.6778 27.307 29.1385 26.8244 28.5083 26.8595Z"
|
||||||
|
fill="#E64646" />
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
|
d="M35.4922 26.8595C36.1225 26.8945 36.605 27.4337 36.5699 28.064L35.9985 38.3497C35.9635 38.9799 35.4242 39.4624 34.794 39.4274C34.1638 39.3924 33.6813 38.8531 33.7163 38.2229L34.2878 27.9372C34.3228 27.307 34.862 26.8244 35.4922 26.8595Z"
|
||||||
|
fill="#E64646" />
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
||||||
|
d="M20.0003 21.7148C19.3691 21.7148 18.8574 22.2265 18.8574 22.8577C18.8574 23.4889 19.3691 24.0006 20.0003 24.0006H21.2529L22.7358 38.655C22.8202 39.4889 22.8901 40.18 22.9917 40.7422C23.0977 41.3283 23.2517 41.8623 23.5501 42.3581C24.0155 43.1313 24.6994 43.7494 25.5155 44.1346C26.0388 44.3816 26.5856 44.4811 27.1794 44.5275C27.749 44.572 28.4436 44.572 29.2819 44.572H34.7187C35.5569 44.572 36.2515 44.572 36.8211 44.5275C37.4149 44.4811 37.9617 44.3816 38.485 44.1346C39.3012 43.7494 39.985 43.1313 40.4504 42.3581C40.7488 41.8623 40.9029 41.3283 41.0088 40.7422C41.1104 40.18 41.1803 39.4889 41.2647 38.655L42.7476 24.0006H44.0003C44.6315 24.0006 45.1431 23.4889 45.1431 22.8577C45.1431 22.2265 44.6315 21.7148 44.0003 21.7148H37.0157C36.496 19.4246 34.4478 17.7148 32.0003 17.7148C29.5527 17.7148 27.5045 19.4246 26.9849 21.7148H20.0003ZM25.0055 38.3806C25.0954 39.2699 25.1572 39.8717 25.241 40.3357C25.3224 40.7857 25.4106 41.0167 25.5084 41.1793C25.7412 41.5659 26.0831 41.875 26.4912 42.0676C26.6628 42.1486 26.9015 42.2131 27.3574 42.2487C27.8275 42.2855 28.4324 42.2863 29.3263 42.2863H34.6743C35.5681 42.2863 36.1731 42.2855 36.6431 42.2487C37.0991 42.2131 37.3378 42.1486 37.5094 42.0676C37.9175 41.875 38.2594 41.5659 38.4921 41.1793C38.59 41.0167 38.6782 40.7857 38.7595 40.3357C38.8434 39.8717 38.9051 39.2699 38.9951 38.3806L40.4502 24.0006H23.5503L25.0055 38.3806ZM32.0003 20.0006C30.8287 20.0006 29.8218 20.7058 29.3809 21.7148H34.6197C34.1788 20.7058 33.1719 20.0006 32.0003 20.0006Z"
|
||||||
|
fill="#E64646" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.3 KiB |
@@ -87,6 +87,7 @@ class ImagePaths {
|
|||||||
String get icReplyTo => _getImagePath('ic_reply_to.svg');
|
String get icReplyTo => _getImagePath('ic_reply_to.svg');
|
||||||
String get icEditIdentity => _getImagePath('ic_edit_identity.svg');
|
String get icEditIdentity => _getImagePath('ic_edit_identity.svg');
|
||||||
String get icDeleteDialogIdentity => _getImagePath('ic_delete_dialog_identity.svg');
|
String get icDeleteDialogIdentity => _getImagePath('ic_delete_dialog_identity.svg');
|
||||||
|
String get icDeleteDialogRecipients => _getImagePath('ic_delete_dialog_recipients.svg');
|
||||||
String get icDeleteDialogFailed => _getImagePath('ic_delete_dialog_failed.svg');
|
String get icDeleteDialogFailed => _getImagePath('ic_delete_dialog_failed.svg');
|
||||||
String get icEdit => _getImagePath('ic_edit.svg');
|
String get icEdit => _getImagePath('ic_edit.svg');
|
||||||
String get icEye => _getImagePath('ic_eye.svg');
|
String get icEye => _getImagePath('ic_eye.svg');
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ class ForwardController extends BaseController {
|
|||||||
AppLocalizations.of(context).remove,
|
AppLocalizations.of(context).remove,
|
||||||
onConfirmAction: () => _handleDeleteRecipientAction({emailAddress}),
|
onConfirmAction: () => _handleDeleteRecipientAction({emailAddress}),
|
||||||
showAsBottomSheet: true,
|
showAsBottomSheet: true,
|
||||||
icon: SvgPicture.asset(_imagePaths.icDeleteDialogIdentity, fit: BoxFit.fill),
|
icon: SvgPicture.asset(_imagePaths.icDeleteDialogRecipients, fit: BoxFit.fill),
|
||||||
titleStyle: const TextStyle(
|
titleStyle: const TextStyle(
|
||||||
fontSize: 20,
|
fontSize: 20,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
@@ -205,7 +205,7 @@ class ForwardController extends BaseController {
|
|||||||
AppLocalizations.of(currentContext!).remove,
|
AppLocalizations.of(currentContext!).remove,
|
||||||
onConfirmAction: () => _handleDeleteRecipientAction(listEmailAddress),
|
onConfirmAction: () => _handleDeleteRecipientAction(listEmailAddress),
|
||||||
showAsBottomSheet: true,
|
showAsBottomSheet: true,
|
||||||
icon: SvgPicture.asset(_imagePaths.icDeleteDialogIdentity, fit: BoxFit.fill),
|
icon: SvgPicture.asset(_imagePaths.icDeleteDialogRecipients, fit: BoxFit.fill),
|
||||||
titleStyle: const TextStyle(
|
titleStyle: const TextStyle(
|
||||||
fontSize: 20,
|
fontSize: 20,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
|
|||||||
Reference in New Issue
Block a user