mirror of
https://github.com/luxfi/safe-ios.git
synced 2026-10-30 15:19:20 +00:00
23 lines
617 B
Swift
23 lines
617 B
Swift
//
|
|
// AddOwnerView.swift
|
|
// Multisig
|
|
//
|
|
// Created by Vitaly on 14.06.22.
|
|
// Copyright © 2022 Gnosis Ltd. All rights reserved.
|
|
//
|
|
|
|
|
|
import UIKit
|
|
|
|
class AddOwnerView: UINibView {
|
|
|
|
@IBOutlet weak var ownerInfo: IdenticonInfoView!
|
|
@IBOutlet weak var safeInfo: IdenticonInfoView!
|
|
|
|
func set(owner: AddressInfo, badgeName: String? = nil, safe: Safe, reqConfirmations: Int, ownerCount: Int) {
|
|
ownerInfo.set(owner: owner, badgeName: badgeName)
|
|
safeInfo.set(owner: AddressInfo(address: safe.addressValue, name: safe.name!), reqConfirmations: reqConfirmations, ownerCount: ownerCount)
|
|
}
|
|
}
|
|
|