add astra draft

This commit is contained in:
2026-09-17 17:59:34 +02:00
parent 88588dcfcc
commit 41458afc76
38 changed files with 2392 additions and 0 deletions
@@ -0,0 +1,17 @@
import ManagedSettings
import ManagedSettingsUI
import UIKit
final class ShieldConfigurationExtension: ShieldConfigurationDataSource {
override func configuration(shielding application: Application) -> ShieldConfiguration {
ShieldConfiguration(
backgroundBlurStyle: .systemMaterial,
backgroundColor: .systemBackground,
icon: UIImage(systemName: "hourglass"),
title: .init(text: "Time for a break", color: .label),
subtitle: .init(text: "Your allowance is used, or it is outside your allowed hours. Open Family Quests to check your time or try a maths challenge. Rewards cannot extend bedtime.", color: .secondaryLabel),
primaryButtonLabel: .init(text: "Close", color: .white),
primaryButtonBackgroundColor: .systemIndigo
)
}
}