Commit d361e1df authored by Valery Sizov's avatar Valery Sizov

emoji picker: minor fixes

parent 4dd892b2
......@@ -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
......
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