mirror of
https://github.com/lumaa-dev/BubbleApp.git
synced 2024-12-14 18:34:05 +01:00
30 lines
747 B
Swift
30 lines
747 B
Swift
//Made by Lumaa
|
|
|
|
import SwiftUI
|
|
import TipKit
|
|
|
|
@main
|
|
struct ThreadedApp: App {
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
ContentView()
|
|
.background(Color.appBackground)
|
|
.onAppear {
|
|
HapticManager.prepareHaptics()
|
|
}
|
|
.task {
|
|
Tips.showAllTipsForTesting()
|
|
|
|
try? Tips.configure([
|
|
.displayFrequency(.immediate),
|
|
.datastoreLocation(.applicationDefault)
|
|
])
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
extension AppInfo {
|
|
static var appVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "Unknown"
|
|
}
|