UI: iOS: Disable "copy" action on on-demand cells
Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
parent
7b5b564a6e
commit
6c4f4109eb
|
@ -395,6 +395,7 @@ extension TunnelDetailTableViewController {
|
||||||
let cell: KeyValueCell = tableView.dequeueReusableCell(for: indexPath)
|
let cell: KeyValueCell = tableView.dequeueReusableCell(for: indexPath)
|
||||||
cell.key = field.localizedUIString
|
cell.key = field.localizedUIString
|
||||||
cell.value = onDemandViewModel.localizedInterfaceDescription
|
cell.value = onDemandViewModel.localizedInterfaceDescription
|
||||||
|
cell.copyableGesture = false
|
||||||
return cell
|
return cell
|
||||||
} else {
|
} else {
|
||||||
assert(field == .ssid)
|
assert(field == .ssid)
|
||||||
|
@ -402,6 +403,7 @@ extension TunnelDetailTableViewController {
|
||||||
let cell: KeyValueCell = tableView.dequeueReusableCell(for: indexPath)
|
let cell: KeyValueCell = tableView.dequeueReusableCell(for: indexPath)
|
||||||
cell.key = field.localizedUIString
|
cell.key = field.localizedUIString
|
||||||
cell.value = onDemandViewModel.ssidOption.localizedUIString
|
cell.value = onDemandViewModel.ssidOption.localizedUIString
|
||||||
|
cell.copyableGesture = false
|
||||||
return cell
|
return cell
|
||||||
} else {
|
} else {
|
||||||
let cell: ChevronCell = tableView.dequeueReusableCell(for: indexPath)
|
let cell: ChevronCell = tableView.dequeueReusableCell(for: indexPath)
|
||||||
|
|
Loading…
Reference in New Issue