Start default notification settings.

This commit is contained in:
John Preston
2023-08-22 19:13:21 +02:00
parent e7be8e1c60
commit 610e0e7913
8 changed files with 475 additions and 65 deletions
@@ -319,16 +319,15 @@ not_null<Ui::RpWidget*> AddInnerToggle(
button->geometryValue(
) | rpl::start_with_next([=](const QRect &r) {
const auto w = st::rightsButtonToggleWidth;
constexpr auto kLineWidth = int(1);
toggleButton->setGeometry(
r.x() + r.width() - w,
r.y(),
w,
r.height());
separator->setGeometry(
toggleButton->x() - kLineWidth,
toggleButton->x() - st::lineWidth,
r.y() + (r.height() - separatorHeight) / 2,
kLineWidth,
st::lineWidth,
separatorHeight);
}, toggleButton->lifetime());