fastlane / frameit-frames

Hosting the latest frameit frames via GitHub Pages
https://fastlane.tools
97 stars 39 forks source link

Nexus 5x should be have capital X #12

Open RobertSasak opened 4 years ago

RobertSasak commented 4 years ago

I experience the same error as described here https://github.com/fastlane/frameit-frames/pull/10#discussion_r372636465

I believe there is a typo in letter X.

RobertSasak commented 4 years ago

I created a quick PR https://github.com/fastlane/frameit-frames/pull/11

janpio commented 4 years ago

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

RobertSasak commented 4 years ago

I think the correct one is capital X.

Does it mean that I need to rename it

janpio commented 4 years ago

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

davidmarquis commented 4 years ago

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

gelodgreat commented 4 years ago

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

barnaclebarnes commented 3 years ago

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?