TF-759 Apply new design for code_view button in composer web

This commit is contained in:
dab246
2022-07-26 17:51:12 +07:00
committed by Dat H. Pham
parent 0538b83493
commit da93ec7dcc
5 changed files with 18 additions and 20 deletions
@@ -12,8 +12,7 @@ enum RichTextStyleType {
strikeThrough,
textColor,
textBackgroundColor,
paragraph,
codeView;
paragraph;
String get commandAction {
switch (this) {
@@ -48,8 +47,6 @@ enum RichTextStyleType {
return imagePaths.icStyleUnderline;
case strikeThrough:
return imagePaths.icStyleStrikeThrough;
case codeView:
return imagePaths.icStyleCodeView;
case headerStyle:
return imagePaths.icStyleHeader;
case textColor:
@@ -85,8 +82,6 @@ enum RichTextStyleType {
return AppLocalizations.of(context).formatTextColor;
case textBackgroundColor:
return AppLocalizations.of(context).formatTextBackgroundColor;
case codeView:
return AppLocalizations.of(context).codeView;
case headerStyle:
return AppLocalizations.of(context).headerStyle;
case fontName: