Skip to content

Commit

Permalink
[#495] Fix uikit script
Browse files Browse the repository at this point in the history
  • Loading branch information
blyscuit committed Sep 28, 2023
1 parent 3fcb789 commit dde34ca
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ struct SetUpInterface {
case swiftUI, uiKit

init?(_ name: String) {
switch name.lowercased() {
case "s", "swiftui":
if name == "s" || name == "swiftui" {
self = .swiftUI
case "u", "uikit":
} else if name == "u" || name == "uikit" {
self = .uiKit
default: return nil
} else {
return nil
}
}

Expand Down

0 comments on commit dde34ca

Please sign in to comment.