mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Show profile design gift wear promo.
This commit is contained in:
@@ -4000,6 +4000,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
"lng_gift_wear_badge_title" = "Radiant Badge";
|
||||
"lng_gift_wear_badge_about" = "The glittering icon of this item will be displayed next to your name.";
|
||||
"lng_gift_wear_badge_about_channel" = "The glittering icon of this item will be displayed next to channel's name.";
|
||||
"lng_gift_wear_design_title" = "Unique Profile Design";
|
||||
"lng_gift_wear_design_about" = "Your profile page will get the color and the symbol of this item.";
|
||||
"lng_gift_wear_design_about_channel" = "Your channel page will get the color and the symbol of this item.";
|
||||
"lng_gift_wear_proof_title" = "Proof of Ownership";
|
||||
"lng_gift_wear_proof_about" = "Clicking the icon of this item next to your name will show its info and owner.";
|
||||
"lng_gift_wear_proof_about_channel" = "Clicking the icon of this item next to channel's name will show its info and owner.";
|
||||
|
||||
@@ -3201,10 +3201,12 @@ void ShowUniqueGiftWearBox(
|
||||
? tr::lng_gift_wear_badge_about_channel()
|
||||
: tr::lng_gift_wear_badge_about()),
|
||||
st.radiantIcon ? st.radiantIcon : &st::menuIconUnique);
|
||||
//infoRow(
|
||||
// tr::lng_gift_wear_design_title(),
|
||||
// tr::lng_gift_wear_design_about(),
|
||||
// &st::menuIconUniqueProfile);
|
||||
infoRow(
|
||||
tr::lng_gift_wear_design_title(),
|
||||
(channel
|
||||
? tr::lng_gift_wear_design_about_channel()
|
||||
: tr::lng_gift_wear_design_about()),
|
||||
st.profileIcon ? st.profileIcon : &st::menuIconUniqueProfile);
|
||||
infoRow(
|
||||
tr::lng_gift_wear_proof_title(),
|
||||
(channel
|
||||
|
||||
@@ -1187,6 +1187,7 @@ GiftWearBoxStyleOverride DarkGiftWearBoxStyle() {
|
||||
.title = &st::darkUpgradeGiftTitle,
|
||||
.subtitle = &st::darkUpgradeGiftSubtitle,
|
||||
.radiantIcon = &st::darkUpgradeGiftRadiant,
|
||||
.profileIcon = &st::darkUpgradeGiftProfile,
|
||||
.proofIcon = &st::darkUpgradeGiftProof,
|
||||
.infoTitle = &st::darkUpgradeGiftInfoTitle,
|
||||
.infoAbout = &st::darkUpgradeGiftInfoAbout,
|
||||
|
||||
@@ -103,6 +103,7 @@ struct GiftWearBoxStyleOverride {
|
||||
const style::FlatLabel *title = nullptr;
|
||||
const style::FlatLabel *subtitle = nullptr;
|
||||
const style::icon *radiantIcon = nullptr;
|
||||
const style::icon *profileIcon = nullptr;
|
||||
const style::icon *proofIcon = nullptr;
|
||||
const style::FlatLabel *infoTitle = nullptr;
|
||||
const style::FlatLabel *infoAbout = nullptr;
|
||||
|
||||
@@ -337,6 +337,7 @@ darkUpgradeGiftBox: Box(upgradeGiftBox) {
|
||||
titleAdditionalFg: groupCallMemberNotJoinedStatus;
|
||||
}
|
||||
darkUpgradeGiftRadiant: icon{{ "menu/unique", groupCallMembersFg }};
|
||||
darkUpgradeGiftProfile: icon{{ "menu/profile", groupCallMembersFg }};
|
||||
darkUpgradeGiftProof: icon{{ "menu/factcheck", groupCallMembersFg }};
|
||||
darkUpgradeGiftInfoTitle: FlatLabel(defaultFlatLabel) {
|
||||
textFg: groupCallMembersFg;
|
||||
|
||||
@@ -180,6 +180,7 @@ menuIconTransparent: icon {{ "menu/affiliate_transparent", menuIconColor }};
|
||||
menuIconLike: icon {{ "menu/affiliate_simple", menuIconColor }};
|
||||
menuIconTradable: icon {{ "menu/tradable", menuIconColor }};
|
||||
menuIconUnique: icon {{ "menu/unique", menuIconColor }};
|
||||
menuIconUniqueProfile: icon {{ "settings/premium/features/feature_profile_cover", menuIconColor }};
|
||||
menuIconNftWear: icon {{ "menu/nft_wear", menuIconColor }};
|
||||
menuIconNftTakeOff: icon {{ "menu/nft_takeoff", menuIconColor }};
|
||||
menuIconShortcut: icon {{ "menu/shortcut", menuIconColor }};
|
||||
|
||||
Reference in New Issue
Block a user