fastlane / frameit-frames

Hosting the latest frameit frames via GitHub Pages

Home Page:https://fastlane.tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nexus 5x should be have capital X

RobertSasak opened this issue · comments

I experience the same error as described here
#10 (comment)

I believe there is a typo in letter X.

I created a quick PR #11

So the file is X but the offset definition is x right now?

That is what I do not know :) Seems this is all kinds of interconnected.

It looks like renaming both the PNG file to Nexus 5X.png and the name in offsets.json to Nexus 5X fixes the issue with this particular device.

Given the frames files in repo frameit-frames might be used elsewhere, it might be easier to just rename with a lower case X in this file https://github.com/fastlane/fastlane/blob/master/frameit/lib/frameit/device_types.rb

why is the PR still not merged, It would be better to be fixed ASAP

I just ran into this problem now as well. I just changed the following and it works:

    "Nexus 5x": {
      "offset": "+53+231",
      "width": 1080
    },

to

    "Nexus 5X": {
      "offset": "+53+231",
      "width": 1080
    },

Not sure why we can't get this merged?