add astra draft
This commit is contained in:
@@ -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
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user