mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
Make properties immutable
This commit is contained in:
@@ -20,10 +20,10 @@ import UIKit
|
||||
class DialpadButton: UIButton {
|
||||
|
||||
struct ViewData {
|
||||
var title: String
|
||||
var tone: SystemSoundID
|
||||
var subtitle: String?
|
||||
var showsSubtitleSpace: Bool
|
||||
let title: String
|
||||
let tone: SystemSoundID
|
||||
let subtitle: String?
|
||||
let showsSubtitleSpace: Bool
|
||||
|
||||
init(title: String, tone: SystemSoundID, subtitle: String? = nil, showsSubtitleSpace: Bool = false) {
|
||||
self.title = title
|
||||
|
||||
Reference in New Issue
Block a user