Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dbejanishvili committed May 10, 2021
1 parent bb88c30 commit 1dbf217
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Sources/MavisSDK/Mavis.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ public class Mavis: UIResponder, UIApplicationDelegate {
}


public func Init(_ options : MavisOptions){
self.setHostMainWindow(options.hostMainWindow)
public static func Init(_ options : MavisOptions){
shared.setHostMainWindow(options.hostMainWindow)
}

public func Launch() {
if isInitialized {
showWindow()
public static func Launch() {
if shared.isInitialized {
shared.showWindow()
} else {
initWindow()
shared.initWindow()
}
}

Expand Down

0 comments on commit 1dbf217

Please sign in to comment.