forked from Henry-Hiles/nexus
lazy load memberships
This commit is contained in:
parent
8b056d8ed1
commit
9054b6b357
14 changed files with 231 additions and 197 deletions
|
|
@ -22,6 +22,10 @@ class Html extends ConsumerWidget {
|
|||
html,
|
||||
textStyle: textStyle,
|
||||
customWidgetBuilder: (element) {
|
||||
if (element.attributes.keys.contains("data-mx-profile-fallback")) {
|
||||
return SizedBox.shrink();
|
||||
}
|
||||
|
||||
if (element.attributes.keys.contains("data-mx-spoiler")) {
|
||||
return InlineCustomWidget(child: SpoilerText(text: element.text));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue