Mercurial > public > simoleon
comparison Simoleon/SimoleonApp.swift @ 160:0c589138a6f3
Implement Conversion Box
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sun, 29 Aug 2021 19:04:34 +0100 |
parents | 84137052813d |
children | 35573bdd7d9b |
comparison
equal
deleted
inserted
replaced
159:35628bac01f5 | 160:0c589138a6f3 |
---|---|
12 struct SimoleonApp: App { | 12 struct SimoleonApp: App { |
13 @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate | 13 @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate |
14 let persistenceController = PersistenceController.shared | 14 let persistenceController = PersistenceController.shared |
15 | 15 |
16 init() { | 16 init() { |
17 let apiKey = readConfigVariable(withKey: "PURCHASES_KEY")! | 17 let apiKey = readConfig(withKey: "PURCHASES_KEY")! |
18 Purchases.configure(withAPIKey: apiKey) | 18 Purchases.configure(withAPIKey: apiKey) |
19 } | 19 } |
20 | 20 |
21 var body: some Scene { | 21 var body: some Scene { |
22 WindowGroup { | 22 WindowGroup { |