mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 14:02:48 +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 {
|
} else if let channel = groupPeer as? TelegramChannel {
|
||||||
if channel.hasPermission(.inviteMembers) {
|
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 {
|
if let biometricAuthentication = LocalAuth.biometricAuthentication {
|
||||||
switch biometricAuthentication {
|
switch biometricAuthentication {
|
||||||
case .touchId:
|
case .touchId:
|
||||||
entries.append(.passcode(presentationData.theme, presentationData.strings.PrivacySettings_PasscodeAndTouchId, true))
|
entries.append(.passcode(presentationData.theme, presentationData.strings.PrivacySettings_PasscodeAndTouchId, false))
|
||||||
case .faceId:
|
case .faceId:
|
||||||
entries.append(.passcode(presentationData.theme, presentationData.strings.PrivacySettings_PasscodeAndFaceId, false))
|
entries.append(.passcode(presentationData.theme, presentationData.strings.PrivacySettings_PasscodeAndFaceId, true))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
entries.append(.passcode(presentationData.theme, presentationData.strings.PrivacySettings_Passcode, false))
|
entries.append(.passcode(presentationData.theme, presentationData.strings.PrivacySettings_Passcode, false))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user