Skip to content

Commit

Permalink
fix: warning build
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Apr 23, 2023
1 parent c5e7456 commit cd48f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Plugin/BundleInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ import Foundation
}

public func getVersionName() -> String {
return (self.version ?? "").isEmpty ? BundleInfo.ID_BUILTIN : self.version
return self.version.isEmpty ? BundleInfo.ID_BUILTIN : self.version
}

public func setVersionName(version: String) -> BundleInfo {
Expand Down

0 comments on commit cd48f15

Please sign in to comment.