emoji picker: minor fixes
This commit is contained in:
parent
dfd76c33d9
commit
e5eb700d5e
1 changed files with 0 additions and 8 deletions
|
@ -45,14 +45,6 @@ class AwardEmoji
|
||||||
food_drink: "Food"
|
food_drink: "Food"
|
||||||
}.with_indifferent_access
|
}.with_indifferent_access
|
||||||
|
|
||||||
def self.positions_by_name(name)
|
|
||||||
emoji = emojis_json.find do |emoji|
|
|
||||||
emoji["short_names"].include?(name)
|
|
||||||
end
|
|
||||||
|
|
||||||
[emoji["sheet_x"], emoji["sheet_y"]]
|
|
||||||
end
|
|
||||||
|
|
||||||
def self.normilize_emoji_name(name)
|
def self.normilize_emoji_name(name)
|
||||||
ALIASES[name] || name
|
ALIASES[name] || name
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue