mirror of
https://github.com/confirmedcode/Lockdown-iOS.git
synced 2025-12-25 12:13:52 +01:00
24 lines
640 B
Swift
24 lines
640 B
Swift
//
|
|
// OnboardingConfiguration.swift
|
|
// Lockdown
|
|
//
|
|
// Created by Alexander Parshakov on 9/28/22
|
|
// Copyright © 2022 Confirmed Inc. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
struct OnboardingConfiguration {
|
|
|
|
/// How often the onboarding page progress bar is updated.
|
|
let timerInterval: TimeInterval
|
|
|
|
/// How long the onboarding page text and gradient are updated.
|
|
let contentAnimationDuration: Double
|
|
|
|
init(timerInterval: TimeInterval = 0.05, contentAnimationDuration: Double = 0.3) {
|
|
self.timerInterval = timerInterval
|
|
self.contentAnimationDuration = contentAnimationDuration
|
|
}
|
|
}
|