mirror of https://github.com/procxx/kepka.git
Move "X groups in common" in shared media to bottom
This commit is contained in:
parent
6adcf660f1
commit
87bf0654a2
|
@ -124,10 +124,10 @@ void InnerWidget::createTypeButtons() {
|
||||||
addMediaButton(Type::File, st::infoIconMediaFile);
|
addMediaButton(Type::File, st::infoIconMediaFile);
|
||||||
addMediaButton(Type::MusicFile, st::infoIconMediaAudio);
|
addMediaButton(Type::MusicFile, st::infoIconMediaAudio);
|
||||||
addMediaButton(Type::Link, st::infoIconMediaLink);
|
addMediaButton(Type::Link, st::infoIconMediaLink);
|
||||||
|
addMediaButton(Type::RoundVoiceFile, st::infoIconMediaVoice);
|
||||||
if (auto user = _controller->key().peer()->asUser()) {
|
if (auto user = _controller->key().peer()->asUser()) {
|
||||||
// addCommonGroupsButton(user, st::infoIconMediaGroup);
|
// addCommonGroupsButton(user, st::infoIconMediaGroup);
|
||||||
}
|
}
|
||||||
addMediaButton(Type::RoundVoiceFile, st::infoIconMediaVoice);
|
|
||||||
|
|
||||||
content->add(object_ptr<Ui::FixedHeightWidget>(
|
content->add(object_ptr<Ui::FixedHeightWidget>(
|
||||||
content,
|
content,
|
||||||
|
|
|
@ -169,10 +169,10 @@ object_ptr<Ui::RpWidget> InnerWidget::setupSharedMedia(
|
||||||
addMediaButton(MediaType::File, st::infoIconMediaFile);
|
addMediaButton(MediaType::File, st::infoIconMediaFile);
|
||||||
addMediaButton(MediaType::MusicFile, st::infoIconMediaAudio);
|
addMediaButton(MediaType::MusicFile, st::infoIconMediaAudio);
|
||||||
addMediaButton(MediaType::Link, st::infoIconMediaLink);
|
addMediaButton(MediaType::Link, st::infoIconMediaLink);
|
||||||
|
addMediaButton(MediaType::RoundVoiceFile, st::infoIconMediaVoice);
|
||||||
if (auto user = _peer->asUser()) {
|
if (auto user = _peer->asUser()) {
|
||||||
addCommonGroupsButton(user, st::infoIconMediaGroup);
|
addCommonGroupsButton(user, st::infoIconMediaGroup);
|
||||||
}
|
}
|
||||||
addMediaButton(MediaType::RoundVoiceFile, st::infoIconMediaVoice);
|
|
||||||
|
|
||||||
auto result = object_ptr<Ui::SlideWrap<Ui::VerticalLayout>>(
|
auto result = object_ptr<Ui::SlideWrap<Ui::VerticalLayout>>(
|
||||||
parent,
|
parent,
|
||||||
|
|
Loading…
Reference in New Issue