mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Force show Add Account
This commit is contained in:
parent
29b38498f5
commit
c8f6495308
@ -925,10 +925,14 @@ private func settingsItems(showProfileId: Bool, data: PeerInfoScreenData?, conte
|
|||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
items[.accounts]!.append(PeerInfoScreenActionItem(id: 100, text: presentationData.strings.Settings_AddAccount, icon: PresentationResourcesItemList.plusIconImage(presentationData.theme), action: {
|
// items[.accounts]!.append(PeerInfoScreenActionItem(id: 100, text: presentationData.strings.Settings_AddAccount, icon: PresentationResourcesItemList.plusIconImage(presentationData.theme), action: {
|
||||||
interaction.openSettings(.addAccount)
|
// interaction.openSettings(.addAccount)
|
||||||
}))
|
// }))
|
||||||
}
|
}
|
||||||
|
// MARK: Swiftgram
|
||||||
|
items[.accounts]!.append(PeerInfoScreenActionItem(id: 1000, text: presentationData.strings.Settings_AddAccount, icon: PresentationResourcesItemList.plusIconImage(presentationData.theme), action: {
|
||||||
|
interaction.openSettings(.addAccount)
|
||||||
|
}))
|
||||||
|
|
||||||
items[.myProfile]!.append(PeerInfoScreenDisclosureItem(id: 0, text: presentationData.strings.Settings_MyProfile, icon: PresentationResourcesSettings.myProfile, action: {
|
items[.myProfile]!.append(PeerInfoScreenDisclosureItem(id: 0, text: presentationData.strings.Settings_MyProfile, icon: PresentationResourcesSettings.myProfile, action: {
|
||||||
interaction.openSettings(.profile)
|
interaction.openSettings(.profile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user