Commit e5eb700d authored by Valery Sizov's avatar Valery Sizov Committed by Valery Sizov

emoji picker: minor fixes

parent dfd76c33
...@@ -45,14 +45,6 @@ class AwardEmoji ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment