Add correct topics icon to manage group box.

This commit is contained in:
John Preston 2022-10-28 10:10:05 +04:00
parent 443745e3fc
commit b3f9b16eb2
5 changed files with 2 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

View File

@ -851,7 +851,7 @@ void Controller::fillForumButton() {
rpl::single(QString()),
[] {},
st::manageGroupTopicsButton,
{ &st::settingsIconGroup, Settings::kIconPurple }));
{ &st::settingsIconTopics, Settings::kIconPurple }));
const auto unlocks = std::make_shared<rpl::event_stream<bool>>();
button->toggleOn(
rpl::single(_peer->isForum()) | rpl::then(unlocks->events())

View File

@ -92,6 +92,7 @@ settingsIconPosition: icon {{ "settings/position", settingsIconFg }};
settingsIconPin: icon {{ "settings/pin", settingsIconFg }};
settingsIconDownload: icon {{ "settings/download", settingsIconFg }};
settingsIconMention: icon {{ "settings/mention", settingsIconFg }};
settingsIconTopics: icon {{ "settings/topics", settingsIconFg }};
settingsPremiumIconChannelsOff: icon {{ "settings/premium/channels_off", settingsIconFg }};
settingsPremiumIconDouble: icon {{ "settings/premium/double", settingsIconFg }};