forked from Nexus/nexus
Compare commits
No commits in common. "33c3a568f95128d67cbf09e968d865e00275f67f" and "c898b2671aabe3484002a7137033c90307dca179" have entirely different histories.
33c3a568f9
...
c898b2671a
3 changed files with 6 additions and 6 deletions
|
|
@ -62,8 +62,8 @@ class AvatarOrHash extends ConsumerWidget {
|
|||
),
|
||||
fit: .cover,
|
||||
loadingBuilder: (_, child, loadingProgress) =>
|
||||
loadingProgress == null ? child : fallback ?? box,
|
||||
errorBuilder: (_, _, _) => fallback ?? box,
|
||||
loadingProgress == null ? child : box,
|
||||
errorBuilder: (_, _, _) => box,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ class EventRenderer extends ConsumerWidget {
|
|||
MembershipContent content => switch (event.previousContent) {
|
||||
MembershipContent(:final status) =>
|
||||
status == content.status ? null : MembershipRenderer(event),
|
||||
_ => MembershipRenderer(event),
|
||||
_ => null,
|
||||
},
|
||||
|
||||
AvatarContent() => GenericEventRenderer(Icons.interests, [
|
||||
|
|
@ -80,12 +80,12 @@ class EventRenderer extends ConsumerWidget {
|
|||
Text("created the room"),
|
||||
]),
|
||||
|
||||
PowerLevelsContent() => GenericEventRenderer(Icons.power, [
|
||||
PowerLevelsContent() => GenericEventRenderer(Icons.add, [
|
||||
MessageDisplayname(event),
|
||||
Text("changed the room's power levels"),
|
||||
]),
|
||||
|
||||
JoinRulesContent() => GenericEventRenderer(Icons.rule, [
|
||||
JoinRulesContent() => GenericEventRenderer(Icons.add, [
|
||||
MessageDisplayname(event),
|
||||
Text("changed the room's join rules"),
|
||||
]),
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ flutter.buildFlutterApplication {
|
|||
postInstall = ''
|
||||
install -D assets/icon.svg $out/share/icons/hicolor/scalable/apps/nexus.svg
|
||||
install -Dm755 linux/nexus.federated.Nexus.desktop -t $out/share/applications
|
||||
wrapProgram $out/bin/nexus \
|
||||
wrapProgram $out/bin/nexus \
|
||||
--suffix LD_LIBRARY_PATH : $out/app/nexus/lib
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue