TF-1194 apply new design identity to manage identity screen in mobile
This commit is contained in:
@@ -73,6 +73,7 @@ extension AppColor on Color {
|
||||
static const colorTextButton = Color(0xFF007AFF);
|
||||
static const colorHintSearchBar = Color(0xFF818C99);
|
||||
static const colorBgSearchBar = Color(0x99EBEDF0);
|
||||
static const colorBgIdentityButton = Color(0x00EBEDF0);
|
||||
static const colorShadowBgContentEmail = Color(0x14000000);
|
||||
static const colorDividerMailbox = Color(0xFF99A2AD);
|
||||
static const colorCollapseMailbox = Color(0xFFB8C1CC);
|
||||
@@ -167,6 +168,7 @@ extension AppColor on Color {
|
||||
static const colorTitleQuotasWarning = Color(0xFFF05C44);
|
||||
static const colorProgressQuotasWarning = Color(0xFFFFA000);
|
||||
static const colorOutOfStorageQuotasWarning = Color(0xffE64646);
|
||||
static const colorThumbScrollBar = Color(0xFFAEB7C2);
|
||||
|
||||
static const mapGradientColor = [
|
||||
[Color(0xFF21D4FD), Color(0xFFB721FF)],
|
||||
|
||||
@@ -26,6 +26,7 @@ class ImagePaths {
|
||||
String get icSelected => _getImagePath('ic_selected.svg');
|
||||
String get icUnSelected => _getImagePath('ic_unselected.svg');
|
||||
String get icDelete => _getImagePath('ic_delete.svg');
|
||||
String get icDeleteOutline => _getImagePath('ic_delete_outline.svg');
|
||||
String get icSpam => _getImagePath('ic_spam.svg');
|
||||
String get icMove => _getImagePath('ic_move.svg');
|
||||
String get icReadToast => _getImagePath('ic_read_toast.svg');
|
||||
|
||||
@@ -12,6 +12,10 @@ class ThemeUtils {
|
||||
appBarTheme: _appBarTheme,
|
||||
textTheme: _textTheme,
|
||||
visualDensity: VisualDensity.adaptivePlatformDensity,
|
||||
scrollbarTheme: ScrollbarThemeData(
|
||||
thickness: MaterialStateProperty.all(2.0),
|
||||
radius: const Radius.circular(5.0),
|
||||
thumbColor: MaterialStateProperty.all(AppColor.colorThumbScrollBar)),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -68,6 +68,14 @@ class _HtmlContentViewState extends State<HtmlContentViewer> {
|
||||
_htmlData = generateHtml(widget.contentHtml);
|
||||
}
|
||||
|
||||
@override
|
||||
void didUpdateWidget(covariant HtmlContentViewer oldWidget) {
|
||||
super.didUpdateWidget(oldWidget);
|
||||
if (widget.contentHtml != oldWidget.contentHtml) {
|
||||
_htmlData = generateHtml(widget.contentHtml);
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return LayoutBuilder(builder: (context, constraints) {
|
||||
|
||||
Reference in New Issue
Block a user