mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-31 03:16:05 +00:00
ios, android: hide force renegotiate encryption button (#2736)
This commit is contained in:
@@ -154,9 +154,10 @@ struct ChatInfoView: View {
|
||||
if let connStats = connectionStats,
|
||||
connStats.ratchetSyncAllowed {
|
||||
synchronizeConnectionButton()
|
||||
} else if developerTools {
|
||||
synchronizeConnectionButtonForce()
|
||||
}
|
||||
// } else if developerTools {
|
||||
// synchronizeConnectionButtonForce()
|
||||
// }
|
||||
}
|
||||
|
||||
if let contactLink = contact.contactLink {
|
||||
|
||||
@@ -82,9 +82,10 @@ struct GroupMemberInfoView: View {
|
||||
if let connStats = connectionStats,
|
||||
connStats.ratchetSyncAllowed {
|
||||
synchronizeConnectionButton()
|
||||
} else if developerTools {
|
||||
synchronizeConnectionButtonForce()
|
||||
}
|
||||
// } else if developerTools {
|
||||
// synchronizeConnectionButtonForce()
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -286,9 +286,10 @@ fun ChatInfoLayout(
|
||||
SendReceiptsOption(currentUser, sendReceipts, setSendReceipts)
|
||||
if (cStats != null && cStats.ratchetSyncAllowed) {
|
||||
SynchronizeConnectionButton(syncContactConnection)
|
||||
} else if (developerTools) {
|
||||
SynchronizeConnectionButtonForce(syncContactConnectionForce)
|
||||
}
|
||||
// } else if (developerTools) {
|
||||
// SynchronizeConnectionButtonForce(syncContactConnectionForce)
|
||||
// }
|
||||
}
|
||||
|
||||
SectionDividerSpaced()
|
||||
|
||||
@@ -253,9 +253,10 @@ fun GroupMemberInfoLayout(
|
||||
}
|
||||
if (cStats != null && cStats.ratchetSyncAllowed) {
|
||||
SynchronizeConnectionButton(syncMemberConnection)
|
||||
} else if (developerTools) {
|
||||
SynchronizeConnectionButtonForce(syncMemberConnectionForce)
|
||||
}
|
||||
// } else if (developerTools) {
|
||||
// SynchronizeConnectionButtonForce(syncMemberConnectionForce)
|
||||
// }
|
||||
}
|
||||
SectionDividerSpaced()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user