whoever made UIDevice.current.userInterfaceIdiom @MainActor was an asshole. it should be a constant. how often does your iPhone change into an iPad while you're using an app
in closely related news, nobody at my company has ever compiled anything in Swift 6 mode, and i think they're all hoping it'll somehow go away