mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Moved creation of divider with text and lottie to single place.
This commit is contained in:
@@ -207,6 +207,11 @@ not_null<Ui::FlatLabel*> AddSubsectionTitle(
|
||||
rpl::producer<QString> text,
|
||||
style::margins addPadding = {},
|
||||
const style::FlatLabel *st = nullptr);
|
||||
void AddDividerTextWithLottie(
|
||||
not_null<Ui::VerticalLayout*> parent,
|
||||
rpl::producer<> showFinished,
|
||||
rpl::producer<TextWithEntities> text,
|
||||
const QString &lottie);
|
||||
|
||||
struct LottieIcon {
|
||||
object_ptr<Ui::RpWidget> widget;
|
||||
|
Reference in New Issue
Block a user