mirror of
https://github.com/luxfi/safe-ios.git
synced 2026-10-30 15:19:20 +00:00
* refs/heads/GH-#2398/adding-missing-EIP-3770-prefixes Add missing EIP-3770 prefixes to added and removed owner addresses * refs/heads/GH-#2398/adding-missing-EIP-3770-prefixes Also show chain prefix when selecting owner from address book. * refs/heads/GH-#2398/adding-missing-EIP-3770-prefixes nil safety increased
25 lines
650 B
Swift
25 lines
650 B
Swift
//
|
|
// ReplaceOwnerTableViewCell.swift
|
|
// Multisig
|
|
//
|
|
// Created by Vitaly on 28.04.22.
|
|
// Copyright © 2022 Gnosis Ltd. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class ReplaceOwnerTableViewCell: UITableViewCell {
|
|
|
|
@IBOutlet weak var newOwnerView: OwnerActionView!
|
|
@IBOutlet weak var oldOwnerView: OwnerActionView!
|
|
|
|
override func awakeFromNib() {
|
|
super.awakeFromNib()
|
|
}
|
|
|
|
func set(newOwner: AddressInfo, oldOwner: AddressInfo, prefix: String? = nil) {
|
|
newOwnerView.set(owner: newOwner, action: .addingOwner, prefix: prefix)
|
|
oldOwnerView.set(owner: oldOwner, action: .replacingOwner, prefix: prefix)
|
|
}
|
|
}
|