Skip to content

Commit

Permalink
Fix frameit for Mac screenshots (#7790)
Browse files Browse the repository at this point in the history
Corrects the string comparison to correctly identify Mac screenshots
  • Loading branch information
mfurtak committed Jan 9, 2017
1 parent ad00f09 commit 9496aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frameit/lib/frameit/screenshot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def mini?
end

def mac?
return device_name == 'Mac'
return device_name == 'MacBook'
end

# The name of the orientation of a screenshot. Used to find the correct template
Expand Down

0 comments on commit 9496aa3

Please sign in to comment.