mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Replaced header in credits settings for credits history with subtitle.
This commit is contained in:
parent
5934614edb
commit
bf07b832f0
1 changed files with 4 additions and 8 deletions
|
@ -235,14 +235,10 @@ void Credits::setupHistory(not_null<Ui::VerticalLayout*> container) {
|
|||
const auto outTabText = tr::lng_credits_summary_history_tab_out(
|
||||
tr::now);
|
||||
if (hasOneTab) {
|
||||
Ui::AddSkip(inner);
|
||||
const auto header = inner->add(
|
||||
object_ptr<Statistic::Header>(inner),
|
||||
st::statisticsLayerMargins
|
||||
+ st::boostsChartHeaderPadding);
|
||||
header->resizeToWidth(header->width());
|
||||
header->setTitle(fullTabText);
|
||||
header->setSubTitle({});
|
||||
Ui::AddSubsectionTitle(
|
||||
inner,
|
||||
tr::lng_credits_summary_history_tab_full(),
|
||||
{ 0, 0, 0, -st::defaultSubsectionTitlePadding.bottom() });
|
||||
}
|
||||
|
||||
const auto slider = inner->add(
|
||||
|
|
Loading…
Add table
Reference in a new issue