TM-SGNL-iOS/SignalUI/RecipientPickers/RecipientPickerContainerViewController.swift
TeleMessage developers dde0620daf initial commit
2025-05-03 12:28:28 -07:00

26 lines
751 B
Swift

//
// Copyright 2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
//
import Foundation
open class RecipientPickerContainerViewController: OWSViewController, OWSNavigationChildController {
public let recipientPicker = RecipientPickerViewController()
open override func themeDidChange() {
super.themeDidChange()
if lifecycle == .willAppear || lifecycle == .appeared {
recipientPicker.applyTheme(to: self)
}
}
public override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
recipientPicker.applyTheme(to: self)
}
public var childForOWSNavigationConfiguration: OWSNavigationChildController? {
return recipientPicker
}
}