Skip to content

Commit

Permalink
FIX bug
Browse files Browse the repository at this point in the history
  • Loading branch information
이주헌 authored and 이주헌 committed Dec 11, 2024
1 parent 7aa5d54 commit e82d108
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NameStack/NameStack/DataScannerRepresentable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ struct DataScannerRepresentable: UIViewControllerRepresentable {
result.append(value)
}
}
let scannedCard = Card(name: result[0],phoneNumber: result[1],mail: result[2],organization: result[3],school: result[4],URL: result[5],memo: result[6])
let scannedCard = Card(name: result[0],phoneNumber: result[2],mail: result[3],organization: result[1],school: result[4],URL: result[5],memo: result[6])
withAnimation{ path.append(MainDestination.editScanned(scannedCard))}
}

Expand Down
3 changes: 1 addition & 2 deletions NameStack/NameStack/QRScanner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ struct QRScanner: View {
).frame(height: 500).shadow(radius: 1).background(.white)
}
Text(scannedText)
.padding()
.foregroundColor(.white)


/*} else if !DataScannerViewController.isSupported {
Text("It looks like this device doesn't support the DataScannerViewController")
Expand Down

0 comments on commit e82d108

Please sign in to comment.