Skip to content

Commit

Permalink
Add some modification that should generate warning outputs in danger
Browse files Browse the repository at this point in the history
  • Loading branch information
星野恵瑠 authored and el-hoshino committed Jul 8, 2020
1 parent 9544a0d commit f1cd06e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions QuickshaRe/Domain/QRPictureGenerator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ final public class QRPictureGenerator {

let context = CIContext()

private let dummy :Int = 123

public func qrPicture(for text: String) -> Picture {

let dummy = 123

let ciGenerator = CIFilter.qrCodeGenerator()
let qrCode = ciGenerator.qrCodeImage(for: text, correctionLevel: "H")!
let output = context.createCGImage(qrCode, from: qrCode.extent)!
Expand Down

0 comments on commit f1cd06e

Please sign in to comment.