mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Replaced header in credits settings for credits history with subtitle.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user