def device_name
      # rubocop:disable Require/MissingRequireStatement
      sizes = Deliver::AppScreenshot::ScreenSize
      case @screen_size
      when sizes::IOS_65
        return 'iPhone XS Max'
      when sizes::IOS_61
        return 'iPhone XR'
      when sizes::IOS_58
        return Frameit.config[:use_legacy_iphonex] ? 'iPhone X' : 'iPhone XS'
      when sizes::IOS_55
        return Frameit.config[:use_legacy_iphone6s] ? 'iPhone 6s Plus' : 'iPhone 7 Plus'
      when sizes::IOS_47
        return Frameit.config[:use_legacy_iphone6s] ? 'iPhone 6s' : 'iPhone 7'
      when sizes::IOS_40
        return Frameit.config[:use_legacy_iphone5s] ? 'iPhone 5s' : 'iPhone SE'
      when sizes::IOS_35
        return 'iPhone 4'
      when sizes::IOS_IPAD
        return 'iPad Air 2'
      when sizes::IOS_IPAD_PRO
        return 'iPad Pro'
      when sizes::MAC
        return 'MacBook'
      else
        UI.error("Unknown device type for size #{@screen_size} for path '#{path}'")
      end
      # rubocop:enable Require/MissingRequireStatement
    end
def device_name
      # rubocop:disable Require/MissingRequireStatement
      sizes = Deliver::AppScreenshot::ScreenSize
      case @screen_size
      when sizes::IOS_65
        return 'iPhone XS Max'
      when sizes::IOS_61
        return 'iPhone XR'
      when sizes::IOS_58
        return Frameit.config[:use_legacy_iphonex] ? 'iPhone X' : 'iPhone XS'
      when sizes::IOS_55
        return Frameit.config[:use_legacy_iphone6s] ? 'iPhone 6s Plus' : 'iPhone 7 Plus'
      when sizes::IOS_47
        return Frameit.config[:use_legacy_iphone6s] ? 'iPhone 6s' : 'iPhone 7'
      when sizes::IOS_40
        return Frameit.config[:use_legacy_iphone5s] ? 'iPhone 5s' : 'iPhone SE'
      when sizes::IOS_35
        return 'iPhone 4'
      when sizes::IOS_IPAD
        return 'iPad Air 2'
      when sizes::IOS_IPAD_PRO
        return 'iPad Pro'
      when sizes::MAC
        return 'MacBook'
      else
        UI.error("Unknown device type for size #{@screen_size} for path '#{path}'")
      end
      # rubocop:enable Require/MissingRequireStatement
    end
the color to use for the frame (from Frameit::Color)
 path: Path to screenshot
 color: Color to use for the frame
 Device name for a given screen size. Used to use the correct template