[DE mobile] Fix bug 50954

This commit is contained in:
JuliaSvinareva 2021-06-28 14:42:17 +03:00
parent 175a2a0d44
commit 1fb891a772

View file

@ -18,7 +18,7 @@ class EditTextController extends Component {
if (isDecrement) {
typeof size === 'undefined' ? api.FontSizeOut() : size = Math.max(1, --size);
} else {
typeof size === 'undefined' ? api.FontSizeIn : size = Math.min(300, ++size);
typeof size === 'undefined' ? api.FontSizeIn() : size = Math.min(300, ++size);
}
if (typeof size !== 'undefined') {
api.put_TextPrFontSize(size);