TF-1878 Fix font family not changed correctly in composer
(cherry picked from commit a4c72a79abf429aa2938c8218308f1ac16f89d76)
This commit is contained in:
@@ -174,7 +174,7 @@ class DropDownButtonWidget<T> extends StatelessWidget {
|
||||
return item.name ?? '';
|
||||
}
|
||||
if (item is FontNameType) {
|
||||
return item.fontFamily;
|
||||
return item.title;
|
||||
}
|
||||
if (item is rich_text_composer.SafeFont) {
|
||||
return item.name;
|
||||
|
||||
Reference in New Issue
Block a user