@@ -15,15 +15,22 @@ final class MainViewController: UIViewController {
1515 guard let delegate = UIApplication . shared. delegate as? AppDelegate else { fatalError ( ) }
1616
1717 let bundle = Bundle . main
18- let component = AudioComponentDescription ( componentType: bundle. auComponentType,
19- componentSubType: bundle. auComponentSubtype,
20- componentManufacturer: bundle. auComponentManufacturer,
21- componentFlags: 0 , componentFlagsMask: 0 )
18+ let component = AudioComponentDescription (
19+ componentType: bundle. auComponentType,
20+ componentSubType: bundle. auComponentSubtype,
21+ componentManufacturer: bundle. auComponentManufacturer,
22+ componentFlags: 0 , componentFlagsMask: 0
23+ )
2224
2325 let tintColor = UIColor ( named: " label " ) !
24- let config = HostViewConfig ( name: bundle. auBaseName, version: bundle. releaseVersionNumber, appDelegate: delegate,
25- appStoreId: bundle. appStoreId, componentDescription: component, sampleLoop: . sample1,
26- tintColor: tintColor) { url in
26+ let config = HostViewConfig (
27+ name: bundle. auBaseName,
28+ appDelegate: delegate,
29+ appStoreId: bundle. appStoreId,
30+ componentDescription: component,
31+ sampleLoop: . sample1,
32+ tintColor: tintColor
33+ ) { url in
2734 UIApplication . shared. open ( url, options: [ : ] , completionHandler: nil )
2835 }
2936
0 commit comments