emoji picker: minor fixes
This commit is contained in:
parent
dfd76c33d9
commit
e5eb700d5e
|
@ -45,14 +45,6 @@ class AwardEmoji
|
|||
food_drink: "Food"
|
||||
}.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)
|
||||
ALIASES[name] || name
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue