From 4a4cc766c2c90e4318c7f4a5e28d04afded6a3e3 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sun, 24 Apr 2022 01:03:04 +0300 Subject: [PATCH] Replaced icons in manage group / channel. --- .../info/edit/channel_manage_signature.png | Bin 0 -> 503 bytes .../info/edit/channel_manage_signature@2x.png | Bin 0 -> 901 bytes .../info/edit/channel_manage_signature@3x.png | Bin 0 -> 1273 bytes .../icons/info/edit/group_manage_actions.png | Bin 477 -> 432 bytes .../info/edit/group_manage_actions@2x.png | Bin 768 -> 757 bytes .../info/edit/group_manage_actions@3x.png | Bin 1239 -> 1059 bytes .../icons/info/edit/group_manage_admins.png | Bin 957 -> 515 bytes .../info/edit/group_manage_admins@2x.png | Bin 1952 -> 989 bytes .../info/edit/group_manage_admins@3x.png | Bin 2822 -> 1481 bytes .../icons/info/edit/group_manage_links.png | Bin 648 -> 583 bytes .../icons/info/edit/group_manage_links@2x.png | Bin 1244 -> 1023 bytes .../icons/info/edit/group_manage_links@3x.png | Bin 1915 -> 1516 bytes .../info/edit/group_manage_permissions.png | Bin 734 -> 0 bytes .../info/edit/group_manage_permissions@2x.png | Bin 1397 -> 0 bytes .../info/edit/group_manage_permissions@3x.png | Bin 2176 -> 0 bytes .../info/edit/group_manage_reactions.png | Bin 989 -> 509 bytes .../info/edit/group_manage_reactions@2x.png | Bin 1924 -> 891 bytes .../info/edit/group_manage_reactions@3x.png | Bin 2820 -> 1319 bytes .../icons/info/edit/group_manage_type.png | Bin 0 -> 494 bytes .../icons/info/edit/group_manage_type@2x.png | Bin 0 -> 925 bytes .../icons/info/edit/group_manage_type@3x.png | Bin 0 -> 1349 bytes .../Resources/icons/info/info_blacklist.png | Bin 650 -> 0 bytes .../icons/info/info_blacklist@2x.png | Bin 1297 -> 0 bytes .../icons/info/info_blacklist@3x.png | Bin 1986 -> 0 bytes Telegram/Resources/langs/lang.strings | 2 +- .../boxes/peers/edit_participant_box.cpp | 3 +- .../boxes/peers/edit_peer_info_box.cpp | 185 +++++++++--------- .../boxes/peers/edit_peer_info_box.h | 9 +- .../boxes/peers/edit_peer_permissions_box.cpp | 10 +- .../boxes/peers/edit_peer_type_box.cpp | 23 +-- .../boxes/peers/edit_peer_type_box.h | 3 +- Telegram/SourceFiles/info/info.style | 23 ++- 32 files changed, 126 insertions(+), 132 deletions(-) create mode 100644 Telegram/Resources/icons/info/edit/channel_manage_signature.png create mode 100644 Telegram/Resources/icons/info/edit/channel_manage_signature@2x.png create mode 100644 Telegram/Resources/icons/info/edit/channel_manage_signature@3x.png delete mode 100644 Telegram/Resources/icons/info/edit/group_manage_permissions.png delete mode 100644 Telegram/Resources/icons/info/edit/group_manage_permissions@2x.png delete mode 100644 Telegram/Resources/icons/info/edit/group_manage_permissions@3x.png create mode 100644 Telegram/Resources/icons/info/edit/group_manage_type.png create mode 100644 Telegram/Resources/icons/info/edit/group_manage_type@2x.png create mode 100644 Telegram/Resources/icons/info/edit/group_manage_type@3x.png delete mode 100644 Telegram/Resources/icons/info/info_blacklist.png delete mode 100644 Telegram/Resources/icons/info/info_blacklist@2x.png delete mode 100644 Telegram/Resources/icons/info/info_blacklist@3x.png diff --git a/Telegram/Resources/icons/info/edit/channel_manage_signature.png b/Telegram/Resources/icons/info/edit/channel_manage_signature.png new file mode 100644 index 0000000000000000000000000000000000000000..2b009d54f116388ec146092c34b3820f7f1e31fe GIT binary patch literal 503 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1SIoCSFHz9jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uv49!D1}S`GTDlgfEYZ`&F~maf zZII#WrUa3<2ZJXpQ03XKX56GuWPD-UA^S@by=E=N&fX98Psl6o=;YYBJ4@nAOCn~-TaI?8#({w!d)WA zE_|!7;qtEM{Nr%cM@`sKAb=$-K;-Bq9TA=W@4x?+uW!_ttKzvSZ1vwGlLD_~m{`r_ zyT#R2w)^hiy7_*~Pe1)sV6o-)TNTd>^Wu*je)yqmcjqFGs_3<04^y7~Ih(fm_S_83G6fXqp00i_>zopr0Hwmka{vGU literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/info/edit/channel_manage_signature@2x.png b/Telegram/Resources/icons/info/edit/channel_manage_signature@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..7481d9f0468093034088cb891f99a204153cc4a8 GIT binary patch literal 901 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA1SD@HNVy2aDs?Du8**?OZtyKAC>9i9mhPFul%zl@9#4io9w6l}zSf#jVVV&2~puZiSCqx2u#Ae3ad9yZbb&THs8Nb^#4<&7s zk(KpS5n9%;?@h#}0*gQY{@n`~lRsm8pp}u)ds5hH(e9%K1ePkDK{?X`oeZ0+nWHK(ViZ{N19 z#7g$=jm2knw7V!xJe&5rP`5!%uHW9?KKQexOyA_mlTV)Xj5v4xd|*pauY-k!#R7fR zCsU_R6?~u&oYed3tCfR|jg7`suck9OX8k+@=jf5bhfWV^2Qmr-|C5QP2eo45>zrabK4;e@NK>`YuBw~x_|m~cij5+g38Lyb$11O%69GBS65wqJ5hd_RHqAvp#-D&>ctl` z;^N~ql~ox^_Ph6U2i%cJ@tU)5?%cT!3LpOd<@Mfu_tR&?zEH^Y z_xERL{LS4SuOP5y?b^t-VLM~&JkB;2iE^>ZWe5ukGlxE$T*+1egmv7^{~7cV-0Z&&ymvv4FO#nd|bd&%9 literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/info/edit/channel_manage_signature@3x.png b/Telegram/Resources/icons/info/edit/channel_manage_signature@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..7baba394dadfa567eb1ae1371e9ff600fbe7923b GIT binary patch literal 1273 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY1SD_us|Wxo#^NA%Cx&(BWL^R}E~ycoX}-P; zT0k}j17mw80}DtA5K93u0|WB{Mh0de%?J`(zyz1|Sip>6gA`6MbbHUhz>@6g;uw;_ z`Zm&ABR5fGU!S(qy_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yF&v=vCyBx^ge=FuMhm8C%JZD&|I80>;05$|ne-iO RIA{O>002ovPDHLkV1n69nu!1a delta 416 zcmV;R0bl;G1Kk55iBL{Q4GJ0x0000DNk~Le0000W0000W2m$~A0Q?y3qmdyG**O{idEX&7g0C4$L zh!Mgw8>Tx@6lJTONvo=|EKApQxabV-mI44`gz(G(#)u8WI1q8m5F>;mc5d+X1|NeS zz5#s(yJj!}*L8Pfp67L4@5p=iIXXb4BE{a959T>KIM0AQoc|)}LmtNwccl0p5F>=t z(?434W$XstU3p{*c3r1wO0Lo*`QY%643B?)aOe$A_ME_PCh!HNipSZi-g}(@0000< KMNUMnLSTYoQ?e2O diff --git a/Telegram/Resources/icons/info/edit/group_manage_actions@2x.png b/Telegram/Resources/icons/info/edit/group_manage_actions@2x.png index 0bfedb200d16305f101ad4bffda69da1bab642df..8463e220c9b67b21882332802ac2f1aa2344c07d 100644 GIT binary patch delta 699 zcmV;s0!00Q2K5CYiBL{Q4GJ0x0000DNk~Le0000m0000m2m$~A0N7w|(2*fXe=wi} z00aO40096105AXm007%JYzzPZ0$)i)K~z`??N>d|VNno%S&}V?kEm1VWEi>VWFNLkE65e|S=k!{NweGJ!x~v)P=_XDJTjlJfcdcDw!jy1)R} zIBs#KL?UsyTr@S>C%6z4XZp@CeVgwrtJN9|24O%9*y(g)vDj|6tJP`{Y`5D^r*k|W zSF2Tq0io;ldbwQQ?{^k7z^K>j`~9A82D4kOmR0}^7DUEuHVcJ92I$Zze=3y z2w~v7>GgX0Be2G@{X{s2~y^ zJuLBfoRS7Glt{^v85!|4NrWMlGE05C-G;*j{pkt?$g`g0aP2xqp3-_`X@V+LK@k0I%Nsch9M+> zs;5$^)9ED96_x_&$z+mpGo&2?BER2XC=`4?pV>@mDyt2D5EhHYU@-VkCju+14AlYE h0o4K3fq&G2-(?F*5uTnZ(f9xW002ovPDHLkV1nckG`#=- delta 710 zcmV;%0y+Kl1%L)2iBL{Q4GJ0x0000DNk~Le0000$0000$2m$~A03{3NiIE{le?XuE z00aO40096106+i$002f&La+b;0%}P_K~!i3?U_A}A~6t!VYK8RA|T=jr2Hg^gOI=> zxXF?*0ViNG1Y}5LB;-VF2mwSO*!|QN9#5lbyBV`XYsvwX?dMnJ=Q2p;R7#pCAPR^A zqJStM3Wx%tfG7}BpwVcIMx#GLf5V^~0z7rM*Xvy_m%m0kpU(_Fb7 zLBpWS;8UDKI-TxxI*Y|(zuy}YhfRX6R;y}P7-|n;(6tX0gwR5+g?NZjC={mC>D6!4 zH`1FC(2YW0=OD+0xzK9=vLZA9d4|Jbv)N>1x7*F>bnSLq33>a;)Ggi| zQC9^==AbuQ1%#$nMgm1_f0awD!k}x79$Lti7pn^mh;fPa8msXdG%L&t;Kd8eHH7l`55rHK65kx!G*2Fh_v54G{f$z0PDZR>!B)sa!7m+C$;uKky?{ zDDijTCvD(xIFO{&G4DxLw>64fIdWSO2jy5=j6?YW`|#4DV{!LGP|lsZi@Px%6ezDx zCKGFU-8trWAemFE)pEHUL$lfJQRQ{m-5)q^E4wZucRX;s%iw4^J~6q3t1*h($07*qoM6N<$g6WJp2LJ#7 diff --git a/Telegram/Resources/icons/info/edit/group_manage_actions@3x.png b/Telegram/Resources/icons/info/edit/group_manage_actions@3x.png index c608c9a96df6a22e9629047703a26f89ded5f4e0..28f23489f6100db9f12cc4c8023ee48b33dfa0d7 100644 GIT binary patch delta 1003 zcmVUK~!i3?OHoaD?t?Y5uu-ugB2g$5{z(UhaQd6oZ}wy|S*=#3rru0Aamw%Pe(?_s3|wDdJG-iT za0&r_<@S|#ZEa0-b$)*Sw|2k~P6YT@fYIU+2n5pU^vul6#Kc5TPmfY%e>55m27_?k z-QA6kk6&C|z#bkRK0ZF~?d^sA`1n{X78MkRx3{;YQfX^zYjbn+`T5xy;IC(La`Nct zNXYMDX-2i@J>GS+vyzrVj+F3UxD*oTLQazPk+1S_X}yg#|TKZw#P9C5CzgYLw;W9@Xsb?h+P{>FMdumi5p4YAYYdmK*y>Zf8Vm%;p@k z(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n&flHplh`^rX^-z-qrDYOdB;EP mTNy49sK6+M3%!VA`p+Og$#kMv^5u`9!o}0o&t;ucLK6VyKN+k5 diff --git a/Telegram/Resources/icons/info/edit/group_manage_admins.png b/Telegram/Resources/icons/info/edit/group_manage_admins.png index 19b2ec7ef4427717bcf9e88429c541b24a6c7fbc..c1c4c95bb8c586e13f4a22cb43c5b3f7e8bdca69 100644 GIT binary patch delta 455 zcmV;&0XY7>2ZID5iBL{Q4GJ0x0000DNk~Le0000O0000O2m$~A0B;qluaO~0e;A+x z00aO40096102lxO0081Ob*%sZ0c}Y{K~y*q?Nc$1f>0C`=nTEoG!_OEtK|UH6ef1- zAv^%RXTZh_XlG$z2OYr#g1xpj1OkGhyR(w~e7-2V+16Lhym>SJ_kyj~yZ&=JR<&)^4|B zd{_;|G~+mK2s$2*jOXKCOf%2(hM@ELOgy*SZLwIChUIbzN+fL85Og}7FpUKjMQOL& z^fYL{-!FF$!;qGMd4^|MhEBKJRaG@jQ(6VZmXOeV45BB0@OHZ;@5e_#f6Jgm+H5wo z1kAoD2m&&J50YR2ntGl`OTcWhG!lv?5rjslSZD)9vX7RjZ^4Db<#?+{ z$%6;of$Y2X+Iyd~&OZBEQu6!!e_sknrPA{9^5U<#tgOsxwO(Ie=kxhwGU;?WB@#(- z%3!^7b8~?}AeBmOZ*OZfnuUdh+uPfxr>FJx^&gd~sHm8qpAUsXFE1}!TU)KItz^jp zf#64FN=r)-9}b6~pPx53H=CN8NNTphl)1aRdwhJvZtCjl*xt|V{r!C?e*mEy8X72` zOeW*;cx;fAxxBpO^Z9HSw_R0LmCa_2Mq{DdX0zdt@muKX?CgZAx3{;@MI-I)?Vw_% zl%u)18QVHNJ%u2Rjg6GIrltl_!^6WAj#qk9EiElTqtPg#ibSHp!9ldp{r&yu=x971 zhvHZVx`1$AUteKEE`oe$e~gWdVJ!@`zP_I6eISWMVrps%VKXx`c*T>;<<8H~tE;O4 zq8O0z@$nDy5{Fi+1(gYdEa*|M*9(IXU_g+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(8H63(5nEGGr%#`DSaDJD+O=yki+0-31r8iI zP*8K`%yFo+eHv9OU{H~088&QKQBe_+#*G_y>eMOQ+{fwX;>C-D2M=b-ty{N7j2Iz> zLh0(46_`DHws<8mF;PiU1I`9?)IxCP%o)eZ_(pn-tT88c=GtD!@O znz3F&$c)0&)v|IlBc%upDa%p}tH*gwXwIKMuX2=um?NIhP(utTSD*GF#MYF_WO_?3 zB_$;^VS*yAENN&k=}$p%Vy08#AZkh0w{KtI6cDK)mNW*Sy#d_tynXwYX|4CS+I$xE-@i$ClG=fCM+($t0F^DnE*fyjcX6V)W?IguVjG;PU0m zW+s#f_67t;j~+E+eE^{y5b;EUnH`Q-TH;7HfKD@J%osL+BG|oqw~m$ZiWMt_AT2G; ze~k43gnn2&bm`J1Gdpq%7bHiH9I-S{=*gb+m^i{*1n7w5Hv8qvmwt&K(E$C#Ns}i} zHrr4i2xm9pJb(WD`tY%tOG1?Ei8pWFsKjqG#{rr?O0*|?y1G|&z{VNL!i5V(SV2L7 zo3_Upv;U~52^4R5lBNa?8svPUmy{H;f3s)LiVY`DoT#V6SW-Da!*IcZ1zzgp=`^}X z)w*#E@OsbDm?-Vp1D>i;FZ#}%J97+>b>MWu)q|((h7TY9{{4I5aQN_H=NEpS3UW!W zH}_mI7>>3srv(LZlFZJ|CgMf=ef#$P0_{aVVoC3L_U_$lc}CHVp;uE|h>pX2e=DIA zH^dls@{g)=C$}jadMrCuC_$3h{;s5X3ZkCA3AhM^{1r#dGqGUg^KsW{5O+pDeiytzl@aE z8Js+MlCAGQ=|1C(mK^Orefp%dMZbCTrkf_uXM%mph*y}ISM)9C2IWSt;dQBQ pP(=g60v-r>AmD+32mVwK{0lMdS94gpXQTiC002ovPDHLkV1jIltR?^e diff --git a/Telegram/Resources/icons/info/edit/group_manage_admins@3x.png b/Telegram/Resources/icons/info/edit/group_manage_admins@3x.png index ea85a8f936b8bdecbc6ec17a4f29fc3a082a757d..9dcd0742b225f1bc671b387fc4ca5230c7151549 100644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J) zkT0SZRHQ^W9PW0z#bQw)wOS3KX0s^?Y`)ciJ?>5>lRzL43;tf=(?eB9Vy1$2)nO9h2ScEc>2rx3Fio4MU?*#M5y zGi)MLsZ?4l7RTc;6bgO+KCxKra5#X>X0syax0khA?RvdtG8t)Pu~I3g^IE;EAZU3fiFc@epv)POdqR}W#@|acRbUM9Wf3HO`I-Rc7 zYHhb$0Ak`Xx{EN%Ael_!P=!K)c7;&8-G&fqPVL*9FEiJRH;;G6{23R*J&Pj zG#ZV^V-d+(@&S7NGl2~CTrP(;b-7$DMcQUEnb7j_c$_Ai%_cGR;x6_f8)(&Q!baKJd433zy?;UmE|PZ=rjtP(%WLO$ThW6=*xBt z2Hbu*cU-8!V4&vgL=lqYn&gXNd(;t4J@SG=d-uOWJd_I(YBeh!Xb~`yYjn^{p bxeWXO0T0;Zev{wo00000NkvXXu0mjf%OMD< diff --git a/Telegram/Resources/icons/info/edit/group_manage_links@2x.png b/Telegram/Resources/icons/info/edit/group_manage_links@2x.png index 46b84c788206d6d6800421a6ee94d382105bda67..c48a70f22865af3cbf268942c4db829429855c6f 100644 GIT binary patch delta 967 zcmV;&133KL3I7KniBL{Q4GJ0x0000DNk~Le0000m0000m2m$~A0N7w|(2*fXe=wi} z00aO40096105AXm007%JYzzPZ18GS_K~z`??N_}^vQZT8H5>#R^P`47$U&DT5gdY? z8f|7ohjNp~3UqN3@*l_=T0$@sOMQPY7Y>*EJdfO`%opNu zko%l-?m54E?)kbaE5^_8fZ+kde*?eG116KnVzK<^Qvt#0>FM?L^~=l4=jZ2aHtYBM z?RGnp$++F_WrK^y7fz>h8L;4(tE($j90C!Z^Z9%-nEuEJsmiRa zt=-<<`u%?5;<8$;R=3+74u_kYn}>&o>+9>p9gRi@2M4%EqAYS@wOX6ae2v~tfXx0_EJjXBr_(Z9epbe8Hls2z zOm}y8bBvkh@OT!Y7;%G}e}Zp#y0G5g-%lhGE|*K7^m+W*!=k#{x^=C#oNzfkwoQ>VBYMO@mpDMx%m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Gn)KjYg~GsQ8a+ajx<8e%-KRrm zNjWZQsLfSscY}`xwEW@WVPb@XL)@^_q8hJvo<4m_3L)Ug1TUhr=rnU(+}g%9a0&@K z58TK#&L`ZMd-LWEse;ho-;d0kaoQ}Xe->{4W8X-DK`tvRQ#-8UDhPXW4Q*XrT^Qyp zC{8V|;1vlj;}9bVxFMdInW<##K$6s;TcP@sCr{KO*5bb&b@3XBav(%%VqyYG9~_?< zLo`vJw z3NI_8qoWZ&e$oSz)z#JS-@oJd97m6ss-8c8zP7ezX>`ov4~A;1e1u~jTEeOzAP5Ko zf`A|(2nYg#fFK|U2m*qDARq_`AOeDbARq_`0yae8A1os!0xk>*2><{907*qoM6N<$ Efk44ofy`glX(f`xTHpSruq6Z zXaU(A42G$TlC0TWzSVF5FO4N|zKE$K4@1CxiRi(`lf z@7s{G-75=4U%%eZ z^|-*oY&LIExQ2*|V3ybN%Lb~GJ%j4!t+|*HwmQ^ocB;|LYTLhc_DK;s)AnAwd@5+= zmG|E#zERX*TD&7~`{}gJ{E2+8jwXGq+FNEdSLIOJ=3ckO875wurB> zn9;J_YpIf~ot@o+BgY?q+*T#l-D*~4BPYc6^ULM?_wF%WfBn_t{PgMKJ|Q|{vwhT} zZI^Lx))wIKxY3`oH?H63YS!06lfPU`f;3l5^?Le|A!@DI>VWmv`wy3`)tk=!QoP&M zZvOsk<$o`I1TQ%*J~+=qCBW|BHg}t9{=B@rpp_yw3YjH%*jy{?>-9yrR>pIbm`NrF zuM9CL4qH9-Nz8 zhrMsT{g%wPJZFFU9G9Y9Ezopr08I-uZ~y=R diff --git a/Telegram/Resources/icons/info/edit/group_manage_permissions@2x.png b/Telegram/Resources/icons/info/edit/group_manage_permissions@2x.png deleted file mode 100644 index bd782c784e3cabac9ab1472acb496d7f2681d80e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1397 zcmV-*1&aEKP)00001b5ch_0Itp) z=>Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000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y%>rAGEmwJ?X5NAjeB2RH~F%K+|T3T9&`SS9z ztE($BGczbC$i~Lzd&(*a2?^|Ye|~;WPEO`W4=QpVW><|JX$xDZY~rTN%o!CGr4fBV zK!8Tj#2|TT(Zj=o9kd4r2Z4cs8qtFRhbZA28XCgcgo_S}xZB&?$U{-IgPgg!x%T#U zoZ|2(Ap*7MX>M*ND2IoKNVE6_q4-_vY ztV^I(Tlp#roZv8s;ynSfw6x^pVHF`&+|);fi*t&IgPPAER;K*hZ-~6SJO&8C1fbzR zXz`#t%1GbVL4}#j$ysE^y_;?E=;-KgL&>A~>gtLXz*&bXEG#7I>gp&>*B2yg4^K}|qzv+a z{+bqdcX!VCNS;G2ZZ=;NDl<2du<7Y(mQAQaN8zBVs!C=&s_Hbm5aTvAHAS5a*}svI z5n4R(9As=r4H%EoQ7oWXK(T;g0mTA}1r!VXr!4RfY3xHP)xjf~00000NkvXXu0mjf D(fM+$ diff --git a/Telegram/Resources/icons/info/edit/group_manage_permissions@3x.png b/Telegram/Resources/icons/info/edit/group_manage_permissions@3x.png deleted file mode 100644 index f09d868205a3dc4edf90e75a236a1610c027078d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2176 zcmah~X*d*I8=kRblBFq>$=E4NvSzF`nV|`zY$?XrnI?>ViNe^|Tx5$H^V+wNCCikt zlo(71g(&+@!X)&LKi~J~yRPrYeeUNu=lSuR>psu9<8Gr3xH%!5004j+brWIAWV>U4 zSeUE({@4fOa>nB zky!q7YDZ%IZ+u)>s)9uW036FG1l&9jxMq#JX<@==Qkf_quUh_OC%;QMNx)E6hFs0v zD_)}76?FzaOn!@?i^mFr5w~xn5_Sra9g6&j8kTwz-;j7crQ)H4n#%amwPr=3`EPsc z6AO>_CeQg?)9$C~xX#ly`usD-U%d>GWH|$j3qxEN7X?2B-DLZp=_M9ha$?c8akjFQ zrlzK(q!TSm>F;4^H1~zw-L>(Ch6Z)dZ>^6H_eUzNot>TY^74wx=SO&4`*QrI+rnd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pRJkf0_B* diff --git a/Telegram/Resources/icons/info/edit/group_manage_reactions.png b/Telegram/Resources/icons/info/edit/group_manage_reactions.png index 6f5e0a875c74dc5e282a236b4fe515a1aeb0f358..b1aa70cac0029c8605f0d0025c0e806b79edac89 100644 GIT binary patch delta 449 zcmV;y0Y3iS2mJ#fiBL{Q4GJ0x0000DNk~Le0000O0000O2m$~A0B;qluaO~0e;A+x z00aO40096102lxO0081Ob*%sZ0cS}>K~y*q?UOOff>0EOL!=fds71xWC8D4q2pe2m z+yb}O_QqzHenN}T))4&xe?e=Ii;;ta7A{d}O9}d&xFDAU^+A1nQ+K$$?|sjCxSY!^ z6u#@PCNLU}f*?>7h*f>gZlkGq3rkj_bJtC)%Se@ zG7RGdh<%YkG@s8UNg_3sN`>e7G)?dK`{ifSBnX1%c?gl)!{LBH4Dyr7gk{c9fN@=@TENBZFgIw2z({{VP-EL7SZ5akP(&C)nKIyD*%+=+a#SX`}E&}N!ur_%|;kVX(~+cxTYYGKlY!Jt$smCNPnbPA7n rKA(YdyWQZU=(_&2^Berf7X*F)66)SbGPEw>00000NkvXXu0mjf?q$c# delta 932 zcmV;V16%z41KkH9iBL{Q4GJ0x0000DNk~Le0000W0000W2m$~A0Q?y3qmdyFmMcEp1V`HPGrR6_UYiMYAe0+RYU<_XB{q9|d!C-2CTrBx)Zpyv>x*Y;Y3cp_eP(7RI4UaY=;&xlT0t*@_BLt9(hf2pad5A(b3TXaCCHhcz8%lOB0M6 z8yj_Xbpn6-)@U?jfaKcQ*;!av3=IvPpP&2t`{R(5l;q&xpyxR^H`mhAA~q=uU7%<1 zVd?Jf&M|v?doM07=I7_-ayg%g>H7Lw#PPxUb~;n{^-PEHOjOROwOAnpMH0q=}@2s*7+J3c-RK!zf(uC9LF7?F{Y zkox)gL4_r;DwRqp?Jw!#_V$)`q~A&X_V#vcY%EHmL8WF=yt%o_(#y+>Hw9l>T0&B4 zU<8Xs92*;hol?JDe-B1XWikRK0?s79{(gO=mLDPzA68aYXqf2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?Rj~5 zehL0DiH-^p{2o1eq&`4dw{D%_>GA`-0goFuPDIU^F~c(S&Ye4uC^#10har20<0T3# zA6BebA$X384-y@$nlV?cT4fPMHM@Yu)*|^Zf5Zpv#w;J$og9X1*RJ^>&cVvomq2XT zu)!i~mEhK4k$f9kKG0w2e45bTUfz|#D?n8d2dr|=#N^~;A&nX}%BvhN4ET_rpD*Id z%F0Y1yv+1QUa(++h}B%DGvedpg+xA7r2jyOe7Ju7I#$vSag(-;8!%viI52(sbc^KY ze-Iz^h82``pc@wxw{PF>v}y6;#X{Am5GRk%m>~MVi;J{abnH^>Eo-h`y@~^`UcGA2 zpn*jSXlVMtJ>9=rhLH2;&r5*m8k`1ceV|l3sexih%)CO2djEXbwr!hCr$==5uw*vg znqZ&^1TkU!;&vcDtXZ>0tfxt7)vDDme{z2e^cIzqljEcY4TBGIp}`tz92er+h}II$ z=H|iFIc4e6rQ+VDOP9DzI~jtBF?}Evdd_!j6>Y9~(=>!S~*q@7{IhFJ^@c@dHa0d6^?M~`+ggb>4>P#&vg_35-Rf0t(^ zF10*QT)A>Z@O&#ODh3Z8>@+1YF;OL?rKLF;LXP1fh%zS|K+UxP?zrZAk=R5cK6dPw zat7f+E)ZWSNpz7HE?jv1`nB4`jdAbZz1EdQwa60_%p}cOvt}v&-v_ws@RPp-Jy;{{ z$;p!^{kT$l5c~H?WGAmq{yl44DNSw!+z7Z4a3kPGz>R<#f&Wef{sElf#udq@yl4Ob N002ovPDHLkV1hc{lBECu diff --git a/Telegram/Resources/icons/info/edit/group_manage_reactions@3x.png b/Telegram/Resources/icons/info/edit/group_manage_reactions@3x.png index f2900f8071902e2dc4497740fffbd40e3ad30aa4..1de2491176da2044b1684a68e677ce42861fc937 100644 GIT binary patch delta 1265 zcmVb7v z7YQi};el7fBQJ^v^5C5^mf}en%Me~9MTV4lo-$_m|L^bA?sWFO=iYtJal5DXecF4i zwZFZ-@9eYB-s}GP!+%@>t^ikne=EQh;0kaBxB^@O+f$&bs_O9Y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072)vmNjmDjkAci>a!VoPPT zdMjIyMr&^IepC_?AED}zz4X5+V^4P%>Rp=tteFz$aduJR%8I`9aajvNKt_cgaCA#)+)A={}SNowV&mnKdDm{RBYToY8 Ow-jY=i+E}3k??=k7+etm diff --git a/Telegram/Resources/icons/info/edit/group_manage_type.png b/Telegram/Resources/icons/info/edit/group_manage_type.png new file mode 100644 index 0000000000000000000000000000000000000000..9bd8a19300288062a9bdb0399170f6195822cc79 GIT binary patch literal 494 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1SIoCSFHz9jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uv49!D1}S`GTDlgfEW*>pF~maf zZIEqWlY>au%|l804hn|HSaNh$He{R?ePh$aZeU{8)~)bRAjO$+?ZlQDHv$CetfY0P z-OZnwGNZ>VZS~zBT%Y#7e{T5MXz#t%{~oj5yZ!6!*|Obt)1w*ApMCZH_a+^FHs&MG zKK~RC&Tw>UVl>Np=ijjQZ{7UVNCB261&yvlULf&+X=5a62{1C$e zR!?4o&z0N0*UDcr;Q3hmVOnbK7S;wa6%~nuk_EO=H;d0D2$ zc}AP_haYZ;(K|TbPkq&=_gx$nrH?=Us9S7t;%CjV>CfUH_~$>6w)TI!O~qc{2^7|z Lu6{1-oD!M<5w*O9 literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/info/edit/group_manage_type@2x.png b/Telegram/Resources/icons/info/edit/group_manage_type@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..408c982e9be7162ba3cbb0b0aedfd04692e4dbed GIT binary patch literal 925 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA1SD@HZ^d`fa=Y_n+SaR~}KeQh>t`;noZ0#rUqi zx+_NS#g*4z`}_M(vQE`rFr~S<`C-A2uYV6TbT246$~m*srD@8ce@Ye$*Es$9_RTDs zJzIHcK*-WdJ*lrston~X{`}KNO_-an{qUO8w_> zXcFsgO<h0U!$EOPmx9pA6fA-_+*RQ{S@0K}L-|};#b9Q#NwY7EK{`$hgiw_GPT-&pIH+QR( zzrX*In(eoH89Sb>U9;wa$YcM?%F3Pl_q$6MR6kgxx?$(eoiTdbckNnrG2_?Yy5*M- z26!wD+8X7XC(Xll_~uQ?YN5pVxVT$y%RF9u{gq)7wKBwl;rYEgcOH05yqL53X4g?A z_7f>a5guW_%a<>gk-Tjr)vKVdqmz&x^Nn9`SL;g#B{OGxE)6;ElUg17M5ajgALso1 z=g%CrRH>6GlL{`sG;u%Zw2A9cM#1;*-wz%!Rq^fZO)#0PCMzfBb?{P?+nsN3%Vr<8 zwYOJpI(+)*(;Zn`XPudsxBc`(L)V=gcLeV)t3YeKt)v;OP9OmWt}?*=N%- zS=X;$udc3sB{XTl=Sz=O|BCN8ariLv?(G}7|68=X89jgg{QC9lhJkKrOC5dI2d!-R lsp8w&@uC3^57@stkblau{>IC^B2iG*@O1TaS?83{1ONcYmB|1A literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/info/edit/group_manage_type@3x.png b/Telegram/Resources/icons/info/edit/group_manage_type@3x.png new file mode 100644 index 0000000000000000000000000000000000000000..6e691af00141f8f62e50014f1732fd8e6e38492c GIT binary patch literal 1349 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY1SD_us|Wxo#^NA%Cx&(BWL^R}E~ycoX}-P; zT0k}j17mw80}DtA5K93u0|WB{Mh0de%?J`(zyz1|Sip>6gA`6MbbHUhz_Q-c#W5s< z^=*WuhpM+o>79bZss#rf0}CBpS(wX}#RZsynGKBuLVS35Vw{BQQ&JYJoYA4-Ce_j9 zt+1$(yQ9fUZ->&m+kcvQr)P(U?|oi<_t2Ru+;ZFV=2|U(RZ{x(?YEB??cX+(Ian`{ zy}*~jzJ>V~BMP^EKC}J4L{COWMpsu?O-;=Ux9;AJjfttLto+Fq%dXng)MRCCt*@_N zzgd2k$D-4YiS8>GFJ3%-`t+M!cC9a%4qW84aO!(&Zg2lTQ`3o=;egD<^1dxww}wV^ zxGq|{^yp4Yi$i<1Z%^OIr^q@(`IDX9yg6M54<2M?W!<@RCp$YkH#fJsy85z{scC6> zIXN>XZAuFZyY}qavX$m~dh2%VuuxP?%+2L3e|-3GGiO5m<}F)9+|45Y|M+p^-o1CP zU!R_um6gTuz=&Z+KdUH*qc^i6dtl#2`*Y{c)m2p~d2(4}ly@iHy*RNln zEVu3Q&6|?%rygzin9Cz1DRgNDgXaz&ySvg^B~ejQ^IJIQOq}RA^ZWPjjg5?1T1*ER z)ELwkE)jIFGBv$AWy^9&F|lPkl6ZM}W7KSHYSPo))AmnfXE3niQrV<9;TVg>jdK$1 zyO$c|y<4(GWwOw@kB1LCd)rI`2CNB-%CvUj4-?E9-{w5J`Ss5qopW1PuRa~5W@lHI zlHzhixl`}7;@!JdqHY;s5Tt9v4RKml5|LnLT|3n8>Pd>73wNjMuMU|B-F))~&6!ZMl1P?aGqsNUN`}FD*5l$FgGEN5O~JkMm0dV@4{fyuAF8 zfWOgH<1+{K0ExofDMiOG|+r;WSh+*?0dws<5Q{P4jbe4)hUhNQYW zyGC1{0!(}>N2=?^$o;=3X^Rn=R_@mBFPD%Z3E*>5ng_ZlYgkHUUs~Y7q z_fwLAot@u_^{mU6FISp7@!&LNJsBaR8SFo=Uk?wt&1PwK=<3y}JuWrH%QY1PLcbdt z8p@n{{P=Nl)~(-;Y~7hzSw<%c^)>CfjvPC7N#=;dR)eG8Z+-q;{75J}^3^Au2Q3z_ zQdPQMCU#^cdV6~tUFz=UesxG)yepT};^D=M6MKZ&SFYi%yn0AVTKebSBauH2ZK$l6 z{@t*C?$#KIJ{OS*%gh}nuX}xpxxfBnweCKj1q|jpu3f)gTvX(<=bp*(Wy@BrTE)|L z;DEzNZF{qabP0l+XkK=zm4E literal 0 HcmV?d00001 diff --git a/Telegram/Resources/icons/info/info_blacklist.png b/Telegram/Resources/icons/info/info_blacklist.png deleted file mode 100644 index a9c5dd4285ea352830d07218982e5282b051e822..0000000000000000000000000000000000000000 GIT binary patch literal 0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f<-WfrlQSoW1sg zi4z6=qHXTny=(aH`?qgXF8y`X{1Uw5vF+A>B|`oE{ij{_?AxcOt^N7PNA@q5J^vin zzZU;KwWO#h=t_KS?9^$~j&bGW_AlvidX%cz-QPcd)-0i~)2B~YRaFfu-FQzq=0sAS zYJk19we~B0J-x2(?&OuF8T|#?2k#W!Jfo_ja^~#W&R?HD7vFE6#9>~%f&k74z5~ke@I!?XrJ7x?yjzB)2F-sy?8Ou&##Yt?l}Rr{ulw*x)ts5>qBR( zS@iG22Lo&C+mW-_wabm~=zFd>u|CwLKQ3qEg-O5HtkL1OnydIE?&|+bN5!1}{aWq% zvbm0ZpB-yUjFtM$lUxzmeD7L*?d`s}zDi)~AmL>N;)Ze~0bO{dY^a$As~MayLKMZtn|< zDg7E^=Nveu7VAo@^o7gl>}QtVeX;=+?&tZ#->xlMd~@+MHBfQn>FVdQ&MBb@0Q!kU AEC2ui diff --git a/Telegram/Resources/icons/info/info_blacklist@3x.png b/Telegram/Resources/icons/info/info_blacklist@3x.png deleted file mode 100644 index 4a9ea97579905634091428661cf738edbc84ecbe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1986 zcmZ`)dpHyN8z0k5osrOqR_1anA(s}Zxo^2-3@H{i#N0v&Lv6EMwsI*+xz9%Ba7>3H zT1#@NQ=CayQIy-zR&YM@B6&ZhkULeehEzAKmO0e%ENdU06?S9Q*b(D-E zQqfH=CB<4Zqm$Odbi4|pZ8wi*LJAN!SjjRFR)LHnB4nrX9_8CMOc+>=ZpdQMp}FeZ z`re+E*1vr9=eYJO=4((3%jNvRS@WbnmhfB6-Jg>F;MRD1&t3fGCzK=oi zB2?hnKawpn%yAeg&Oa=@xdoCU%!4W*cM9pF+Vo`wvgCe5~TB? zDYojVC1UkfA(90gLZQsC*XN6hpsowX6f71iS`>QBy0a{h$jg$NjkT4-u7!=(X2-N> zgeFsGLMO`gsaW~fUwH`&I&JE^E5zc&y-Ye=8*PwgL}bT33Cf0==gi|WG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~e(+X@nwvSofDKJ%(6jjHy*dGBOe4FBMiiz*rLE!SB^5RY^9r{X)O+Q! zUuw?5^IxP9uQrwr(!11Og$I1HhW@69ADk9eECK!0=WmRL#abpg(k3&&w0Sig(Abl( xSmovsL>3z_HBt13(~bK3|5b$kk*I1iXcL%>*> EditAdminBox::setupTransferButton( : tr::lng_rights_transfer_channel)(), rpl::single(QString()), [=] { transferOwnership(); }, - st::peerPermissionsButton)); + st::peerPermissionsButton, + {})); return wrap; } diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp index 0df5e23a30..6df4e6730e 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp @@ -37,9 +37,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "history/admin_log/history_admin_log_section.h" #include "info/profile/info_profile_values.h" #include "lang/lang_keys.h" -#include "mainwidget.h" -#include "mainwindow.h" #include "mtproto/sender.h" +#include "settings/settings_common.h" #include "ui/rp_widget.h" #include "ui/special_buttons.h" #include "ui/toast/toast.h" @@ -53,22 +52,22 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "ui/wrap/vertical_layout.h" #include "window/window_session_controller.h" #include "info/profile/info_profile_icon.h" -#include "apiwrap.h" #include "api/api_invite_links.h" -#include "facades.h" +#include "facades.h" // Ui::showChatsList #include "styles/style_layers.h" #include "styles/style_boxes.h" #include "styles/style_info.h" +#include "styles/style_settings.h" namespace { -auto ToPositiveNumberString() { +[[nodiscard]] auto ToPositiveNumberString() { return rpl::map([](int count) { return count ? QString::number(count) : QString(); }); } -auto ToPositiveNumberStringRestrictions() { +[[nodiscard]] auto ToPositiveNumberStringRestrictions() { return rpl::map([](int count) { return QString::number(count) + QString("/") @@ -94,40 +93,29 @@ void AddButtonWithCount( rpl::producer &&text, rpl::producer &&count, Fn callback, - const style::icon &icon) { + Settings::IconDescriptor &&descriptor) { parent->add(EditPeerInfoBox::CreateButton( parent, std::move(text), std::move(count), std::move(callback), st::manageGroupButton, - &icon)); + std::move(descriptor))); } -object_ptr CreateButtonWithText( - not_null parent, +not_null AddButtonWithText( + not_null parent, rpl::producer &&text, rpl::producer &&label, - Fn callback) { - return EditPeerInfoBox::CreateButton( + Fn callback, + Settings::IconDescriptor &&descriptor) { + return parent->add(EditPeerInfoBox::CreateButton( parent, std::move(text), std::move(label), std::move(callback), st::manageGroupTopButtonWithText, - nullptr); -} - -Ui::SettingsButton *AddButtonWithText( - not_null parent, - rpl::producer &&text, - rpl::producer &&label, - Fn callback) { - return parent->add(CreateButtonWithText( - parent, - std::move(text), - std::move(label), - std::move(callback))); + std::move(descriptor))); } void AddButtonDelete( @@ -140,7 +128,7 @@ void AddButtonDelete( rpl::single(QString()), std::move(callback), st::manageDeleteGroupButton, - nullptr)); + {})); } void SaveDefaultRestrictions( @@ -262,7 +250,7 @@ public: not_null box, not_null peer); - object_ptr createContent(); + [[nodiscard]] object_ptr createContent(); void setFocus(); private: @@ -284,12 +272,12 @@ private: std::optional linkedChat; }; - object_ptr createPhotoAndTitleEdit(); - object_ptr createTitleEdit(); - object_ptr createPhotoEdit(); - object_ptr createDescriptionEdit(); - object_ptr createManageGroupButtons(); - object_ptr createStickersEdit(); + [[nodiscard]] object_ptr createPhotoAndTitleEdit(); + [[nodiscard]] object_ptr createTitleEdit(); + [[nodiscard]] object_ptr createPhotoEdit(); + [[nodiscard]] object_ptr createDescriptionEdit(); + [[nodiscard]] object_ptr createManageGroupButtons(); + [[nodiscard]] object_ptr createStickersEdit(); [[nodiscard]] bool canEditInformation() const; [[nodiscard]] bool canEditReactions() const; @@ -310,14 +298,14 @@ private: void deleteWithConfirmation(); void deleteChannel(); - std::optional validate() const; - bool validateUsername(Saving &to) const; - bool validateLinkedChat(Saving &to) const; - bool validateTitle(Saving &to) const; - bool validateDescription(Saving &to) const; - bool validateHistoryVisibility(Saving &to) const; - bool validateSignatures(Saving &to) const; - bool validateForwards(Saving &to) const; + [[nodiscard]] std::optional validate() const; + [[nodiscard]] bool validateUsername(Saving &to) const; + [[nodiscard]] bool validateLinkedChat(Saving &to) const; + [[nodiscard]] bool validateTitle(Saving &to) const; + [[nodiscard]] bool validateDescription(Saving &to) const; + [[nodiscard]] bool validateHistoryVisibility(Saving &to) const; + [[nodiscard]] bool validateSignatures(Saving &to) const; + [[nodiscard]] bool validateForwards(Saving &to) const; void save(); void saveUsername(); @@ -522,7 +510,8 @@ object_ptr Controller::createDescriptionEdit() { result->entity()->setInstantReplaces(Ui::InstantReplaces::Default()); result->entity()->setInstantReplacesEnabled( Core::App().settings().replaceEmojiValue()); - result->entity()->setSubmitSettings(Core::App().settings().sendSubmitWay()); + result->entity()->setSubmitSettings( + Core::App().settings().sendSubmitWay()); Ui::Emoji::SuggestionsController::Init( _wrap->window(), result->entity(), @@ -739,7 +728,8 @@ void Controller::fillPrivacyTypeButton() { ? tr::lng_manage_private_group_title : tr::lng_manage_private_peer_title)(); }) | rpl::flatten_latest(), - [=] { showEditPeerTypeBox(); }); + [=] { showEditPeerTypeBox(); }, + { &st::infoIconGroupType, Settings::kIconLightBlue }); _privacyTypeUpdates.fire_copy(*_privacySavedValue); } @@ -781,7 +771,8 @@ void Controller::fillLinkedChatButton() { _controls.buttonsLayout, std::move(text), std::move(label), - [=] { showEditLinkedChatBox(); }); + [=] { showEditLinkedChatBox(); }, + { &st::settingsIconChat, Settings::kIconGreen }); _linkedChatUpdates.fire_copy(*_linkedChatSavedValue); } // @@ -803,13 +794,16 @@ void Controller::fillSignaturesButton() { Expects(_controls.buttonsLayout != nullptr); const auto channel = _peer->asChannel(); - if (!channel) return; + if (!channel) { + return; + } AddButtonWithText( _controls.buttonsLayout, tr::lng_edit_sign_messages(), rpl::single(QString()), - [=] {} + [] {}, + { &st::infoIconSignature, Settings::kIconLightBlue } )->toggleOn(rpl::single(channel->addsSignature()) )->toggledValue( ) | rpl::start_with_next([=](bool toggled) { @@ -859,7 +853,8 @@ void Controller::fillHistoryVisibilityButton() { ? tr::lng_manage_history_visibility_shown : tr::lng_manage_history_visibility_hidden)(); }) | rpl::flatten_latest(), - buttonCallback); + buttonCallback, + { &st::settingsIconChat, Settings::kIconGreen }); updateHistoryVisibility->fire_copy(*_historyVisibilitySavedValue); @@ -970,6 +965,40 @@ void Controller::fillManageSection() { st::editPeerTopButtonsLayoutSkipCustomBottom); } + if (canEditReactions()) { + const auto session = &_peer->session(); + auto reactionsCount = Info::Profile::MigratedOrMeValue( + _peer + ) | rpl::map( + Info::Profile::AllowedReactionsCountValue + ) | rpl::flatten_latest(); + auto fullCount = Info::Profile::FullReactionsCountValue(session); + auto label = rpl::combine( + std::move(reactionsCount), + std::move(fullCount) + ) | rpl::map([=](int allowed, int total) { + return allowed + ? QString::number(allowed) + " / " + QString::number(total) + : tr::lng_manage_peer_reactions_off(tr::now); + }); + const auto done = [=](const std::vector &chosen) { + SaveAllowedReactions(_peer, chosen); + }; + AddButtonWithCount( + _controls.buttonsLayout, + tr::lng_manage_peer_reactions(), + std::move(label), + [=] { + _navigation->parentController()->show(Box( + EditAllowedReactionsBox, + !_peer->isBroadcast(), + session->data().reactions().list( + Data::Reactions::Type::Active), + *Data::PeerAllowedReactions(_peer), + done)); + }, + { &st::infoIconReactions, Settings::kIconRed }); + } if (canEditPermissions) { AddButtonWithCount( _controls.buttonsLayout, @@ -981,7 +1010,7 @@ void Controller::fillManageSection() { ) | rpl::flatten_latest( ) | ToPositiveNumberStringRestrictions(), [=] { ShowEditPermissions(_navigation, _peer); }, - st::infoIconPermissions); + { &st::settingsIconKey, Settings::kIconGreen }); } if (canEditInviteLinks) { auto count = Info::Profile::MigratedOrMeValue( @@ -1017,7 +1046,7 @@ void Controller::fillManageSection() { 0), Ui::LayerOption::KeepOther); }, - st::infoIconInviteLinks); + { &st::infoIconInviteLinks, Settings::kIconLightOrange }); if (_privacySavedValue) { _privacyTypeUpdates.events_starting_with_copy( @@ -1029,40 +1058,6 @@ void Controller::fillManageSection() { }, wrap->lifetime()); } } - if (canEditReactions()) { - const auto session = &_peer->session(); - auto reactionsCount = Info::Profile::MigratedOrMeValue( - _peer - ) | rpl::map( - Info::Profile::AllowedReactionsCountValue - ) | rpl::flatten_latest(); - auto fullCount = Info::Profile::FullReactionsCountValue(session); - auto label = rpl::combine( - std::move(reactionsCount), - std::move(fullCount) - ) | rpl::map([=](int allowed, int total) { - return allowed - ? QString::number(allowed) + " / " + QString::number(total) - : tr::lng_manage_peer_reactions_off(tr::now); - }); - const auto done = [=](const std::vector &chosen) { - SaveAllowedReactions(_peer, chosen); - }; - AddButtonWithCount( - _controls.buttonsLayout, - tr::lng_manage_peer_reactions(), - std::move(label), - [=] { - _navigation->parentController()->show(Box( - EditAllowedReactionsBox, - !_peer->isBroadcast(), - session->data().reactions().list( - Data::Reactions::Type::Active), - *Data::PeerAllowedReactions(_peer), - done)); - }, - st::infoIconReactions); - } if (canViewAdmins) { AddButtonWithCount( _controls.buttonsLayout, @@ -1079,12 +1074,14 @@ void Controller::fillManageSection() { _peer, ParticipantsBoxController::Role::Admins); }, - st::infoIconAdministrators); + { &st::infoIconAdministrators, Settings::kIconLightBlue }); } if (canViewMembers) { AddButtonWithCount( _controls.buttonsLayout, - (_isGroup ? tr::lng_manage_peer_members() : tr::lng_manage_peer_subscribers()), + (_isGroup + ? tr::lng_manage_peer_members() + : tr::lng_manage_peer_subscribers()), Info::Profile::MigratedOrMeValue( _peer ) | rpl::map( @@ -1097,7 +1094,7 @@ void Controller::fillManageSection() { _peer, ParticipantsBoxController::Role::Members); }, - st::infoIconMembers); + { &st::settingsIconGroup, Settings::kIconDarkBlue }); } fillPendingRequestsButton(); @@ -1114,7 +1111,7 @@ void Controller::fillManageSection() { _peer, ParticipantsBoxController::Role::Kicked); }, - st::infoIconBlacklist); + { &st::settingsIconMinus, Settings::kIconRed }); } if (hasRecentActions) { auto callback = [=] { @@ -1126,7 +1123,7 @@ void Controller::fillManageSection() { tr::lng_manage_peer_recent_actions(), rpl::single(QString()), //Empty count. std::move(callback), - st::infoIconRecentActions); + { &st::infoIconRecentActions, Settings::kIconPurple }); } if (canEditStickers || canDeleteChannel) { @@ -1168,7 +1165,7 @@ void Controller::fillPendingRequestsButton() { : tr::lng_manage_peer_requests_channel()), rpl::duplicate(pendingRequestsCount) | ToPositiveNumberString(), [=] { RequestsBoxController::Start(_navigation, _peer); }, - st::infoIconRequests); + { &st::infoIconRequests, Settings::kIconRed }); std::move( pendingRequestsCount ) | rpl::start_with_next([=](int count) { @@ -1670,18 +1667,18 @@ object_ptr EditPeerInfoBox::CreateButton( rpl::producer &&count, Fn callback, const style::SettingsCountButton &st, - const style::icon *icon) { + Settings::IconDescriptor &&descriptor) { auto result = object_ptr( parent, rpl::duplicate(text), st.button); const auto button = result.data(); button->addClickHandler(callback); - if (icon) { - Ui::CreateChild( + if (descriptor) { + AddButtonIcon( button, - *icon, - st.iconPosition); + st.button, + std::move(descriptor)); } auto labelText = rpl::combine( diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.h b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.h index 11ffd36ec8..9844320cfa 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.h +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.h @@ -7,8 +7,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once -#include -#include "boxes/abstract_box.h" +#include "ui/layers/box_content.h" + +namespace Settings { +struct IconDescriptor; +} // namespace Settings namespace style { struct SettingsCountButton; @@ -42,7 +45,7 @@ public: rpl::producer &&count, Fn callback, const style::SettingsCountButton &st, - const style::icon *icon = nullptr); + Settings::IconDescriptor &&descriptor); protected: void prepare() override; diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp index 615b9f629a..eccf38c8b0 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_permissions_box.cpp @@ -28,6 +28,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "main/main_session.h" #include "mainwindow.h" #include "apiwrap.h" +#include "settings/settings_common.h" #include "styles/style_layers.h" #include "styles/style_boxes.h" #include "styles/style_info.h" @@ -612,7 +613,8 @@ void EditPeerPermissionsBox::addSuggestGigagroup( AboutGigagroupCallback( _peer->asChannel(), _navigation->parentController()), - st::peerPermissionsButton)); + st::peerPermissionsButton, + {})); container->add( object_ptr( @@ -645,7 +647,8 @@ void EditPeerPermissionsBox::addBannedButtons( _peer, ParticipantsBoxController::Role::Restricted); }, - st::peerPermissionsButton)); + st::peerPermissionsButton, + {})); if (channel) { container->add(EditPeerInfoBox::CreateButton( container, @@ -658,7 +661,8 @@ void EditPeerPermissionsBox::addBannedButtons( _peer, ParticipantsBoxController::Role::Kicked); }, - st::peerPermissionsButton)); + st::peerPermissionsButton, + {})); } } diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_type_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_type_box.cpp index e328eb7cd5..edcfa5cd33 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_type_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_type_box.cpp @@ -7,8 +7,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #include "boxes/peers/edit_peer_type_box.h" -#include "apiwrap.h" -#include "api/api_invite_links.h" #include "main/main_session.h" #include "boxes/add_contact_box.h" #include "ui/boxes/confirm_box.h" @@ -19,7 +17,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "boxes/peers/edit_peer_invite_link.h" #include "boxes/peers/edit_peer_invite_links.h" #include "chat_helpers/emoji_suggestions_widget.h" -#include "core/application.h" #include "data/data_channel.h" #include "data/data_chat.h" #include "data/data_peer.h" @@ -27,7 +24,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "data/data_changes.h" #include "info/profile/info_profile_values.h" #include "lang/lang_keys.h" -#include "mainwindow.h" #include "mtproto/sender.h" #include "ui/rp_widget.h" #include "ui/special_buttons.h" @@ -35,7 +31,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "ui/widgets/checkbox.h" #include "ui/widgets/input_fields.h" #include "ui/widgets/labels.h" -#include "ui/widgets/popup_menu.h" #include "ui/widgets/box_content_divider.h" #include "ui/wrap/padding_wrap.h" #include "ui/wrap/slide_wrap.h" @@ -48,11 +43,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "styles/style_info.h" #include "styles/style_settings.h" -#include -#include - -#include - namespace { class Controller : public base::has_weak_ptr { @@ -209,21 +199,22 @@ void Controller::createContent() { Ui::LayerOption::KeepOther); }, st::manageGroupButton, - &st::infoIconInviteLinks)); + { &st::infoIconInviteLinks, Settings::kIconLightOrange })); AddSkip(_wrap.get()); AddDividerText(_wrap.get(), tr::lng_group_invite_manage_about()); if (!_linkOnly) { AddSkip(_wrap.get()); - AddSubsectionTitle(_wrap.get(), tr::lng_manage_peer_no_forwards_title()); + AddSubsectionTitle( + _wrap.get(), + tr::lng_manage_peer_no_forwards_title()); _controls.noForwards = _wrap->add(EditPeerInfoBox::CreateButton( _wrap.get(), tr::lng_manage_peer_no_forwards(), rpl::single(QString()), - [=] {}, - st::manageGroupTopButtonWithText, - nullptr - )); + [] {}, + st::peerPermissionsButton, + {})); _controls.noForwards->toggleOn( rpl::single(_noForwardsSavedValue.value_or(false)) )->toggledValue( diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_type_box.h b/Telegram/SourceFiles/boxes/peers/edit_peer_type_box.h index fa77441258..3f544e1f97 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_type_box.h +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_type_box.h @@ -7,8 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once -#include "boxes/abstract_box.h" -#include "base/timer.h" +#include "ui/layers/box_content.h" namespace style { struct SettingsCountButton; diff --git a/Telegram/SourceFiles/info/info.style b/Telegram/SourceFiles/info/info.style index 219441e925..e33969cfa9 100644 --- a/Telegram/SourceFiles/info/info.style +++ b/Telegram/SourceFiles/info/info.style @@ -327,12 +327,12 @@ infoIconMediaLink: icon {{ "info/info_media_link", infoIconFg }}; infoIconMediaGroup: icon {{ "info/info_common_groups", infoIconFg }}; infoIconMediaVoice: icon {{ "info/info_media_voice", infoIconFg }}; infoIconMediaRound: icon {{ "info/info_media_round", infoIconFg }}; -infoIconRecentActions: icon {{ "info/edit/group_manage_actions", infoIconFg }}; -infoIconAdministrators: icon {{ "info/edit/group_manage_admins", infoIconFg }}; -infoIconBlacklist: icon {{ "info/info_blacklist", infoIconFg }}; -infoIconPermissions: icon {{ "info/edit/group_manage_permissions", infoIconFg }}; -infoIconInviteLinks: icon {{ "info/edit/group_manage_links", infoIconFg }}; -infoIconReactions: icon {{ "info/edit/group_manage_reactions", infoIconFg }}; +infoIconRecentActions: icon {{ "info/edit/group_manage_actions", settingsIconFg }}; +infoIconAdministrators: icon {{ "info/edit/group_manage_admins", settingsIconFg }}; +infoIconInviteLinks: icon {{ "info/edit/group_manage_links", settingsIconFg }}; +infoIconReactions: icon {{ "info/edit/group_manage_reactions", settingsIconFg }}; +infoIconGroupType: icon {{ "info/edit/group_manage_type", settingsIconFg }}; +infoIconSignature: icon {{ "info/edit/channel_manage_signature", settingsIconFg }}; infoIconShare: icon {{ "info/info_share", infoIconFg }}; infoIconEdit: icon {{ "info/info_edit", infoIconFg }}; infoIconDelete: icon {{ "info/info_delete", infoIconFg }}; @@ -544,23 +544,20 @@ managePeerButton: SettingsCountButton { peerPermissionsButton: SettingsCountButton(managePeerButton) { button: SettingsButton(infoProfileButton) { - padding: margins(24px, 12px, 24px, 10px); + padding: margins(22px, 12px, 24px, 10px); } iconPosition: point(24px, 5px); } manageGroupButton: SettingsCountButton(managePeerButton) { button: SettingsButton(infoProfileButton) { - padding: margins(72px, 10px, 24px, 8px); + padding: margins(60px, 10px, 24px, 8px); } labelPosition: point(22px, 12px); iconPosition: point(20px, 4px); } manageGroupTopButtonWithText: SettingsCountButton(manageGroupButton) { - button: SettingsButton(infoProfileButton) { - padding: margins(22px, 10px, 24px, 8px); - } labelPosition: point(22px, 10px); iconPosition: point(0px, 0px); } @@ -607,7 +604,9 @@ editPeerHistoryVisibilityTopSkip: 8px; editPeerPhotoMargins: margins(22px, 16px, 22px, 8px); editPeerTitle: defaultInputField; editPeerTitleMargins: margins(27px, 21px, 22px, 8px); -editPeerDescription: newGroupDescription; +editPeerDescription: InputField(newGroupDescription) { + borderFg: transparent; +} editPeerDescriptionMargins: margins(22px, 5px, 22px, 16px); editPeerPrivaciesMargins: margins(15px, 7px, 22px, 0px); editPeerPrivacyTopSkip: 10px;