Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit 59010d1

Browse files
author
steven.roulleau
committed
chore(Constants): remove armenian from Constants as it always use default font
1 parent 46e9dd7 commit 59010d1

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Editor.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,7 @@ export class Editor {
382382
*/
383383
const update = (value) => {
384384
const defaultLang = !Object.keys(Constants.Languages).includes(value)
385-
const armenian = value === 'hy_AM'
386-
this.theme['.text']['font-family'] = defaultLang || armenian ? Constants.Languages.default : Constants.Languages[value]
385+
this.theme['.text']['font-family'] = defaultLang ? Constants.Languages.default : Constants.Languages[value]
387386
this.behavior = this.behaviors.getBehaviorFromConfiguration(this.behaviors, this.innerConfiguration)
388387
}
389388

src/configuration/Constants.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ const Constants = {
6767
zh_TW: 'Noto Sans CJK tc',
6868
ko_KR: 'Noto Sans CJK kr',
6969
ja_JP: 'Noto Sans CJK jp',
70-
hy_AM: 'Noto Sans Armenian',
7170
default: 'Open Sans'
7271
},
7372
Error: {

0 commit comments

Comments
 (0)