Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/android/resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def global_string_pool=(pool)
# @option opts [String] :contry cantry code like 'jp'...
# @raise [ArgumentError] invalid id format
# @note
# This method only support string and drawable resource for now.
# This method only support string and drawable/mipmap resource for now.
# @note
# Always return nil if assign not string type res id.
#
Expand All @@ -135,7 +135,7 @@ def find(res_id, opts={})
case type(tid)
when 'string'
return find_res_string(key, opts)
when 'drawable'
when 'drawable','mipmap'
drawables = []
@types[tid].each do |type|
unless type[key].nil?
Expand Down