mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-04 13:38:21 +00:00
Fix icons
This commit is contained in:
parent
bcbbe88854
commit
94dcc9152c
@ -1479,7 +1479,9 @@ public func groupInfoController(context: AccountContext, peerId originalPeerId:
|
||||
}
|
||||
} else if let channel = groupPeer as? TelegramChannel {
|
||||
if channel.hasPermission(.inviteMembers) {
|
||||
canCreateInviteLink = true
|
||||
if channel.adminRights != nil {
|
||||
canCreateInviteLink = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -348,9 +348,9 @@ private func privacyAndSecurityControllerEntries(presentationData: PresentationD
|
||||
if let biometricAuthentication = LocalAuth.biometricAuthentication {
|
||||
switch biometricAuthentication {
|
||||
case .touchId:
|
||||
entries.append(.passcode(presentationData.theme, presentationData.strings.PrivacySettings_PasscodeAndTouchId, true))
|
||||
entries.append(.passcode(presentationData.theme, presentationData.strings.PrivacySettings_PasscodeAndTouchId, false))
|
||||
case .faceId:
|
||||
entries.append(.passcode(presentationData.theme, presentationData.strings.PrivacySettings_PasscodeAndFaceId, false))
|
||||
entries.append(.passcode(presentationData.theme, presentationData.strings.PrivacySettings_PasscodeAndFaceId, true))
|
||||
}
|
||||
} else {
|
||||
entries.append(.passcode(presentationData.theme, presentationData.strings.PrivacySettings_Passcode, false))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user