Skip to content

Commit

Permalink
fix: show host in instance ticker as a fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
poppingmoon committed Dec 10, 2024
1 parent 44d969d commit 927187d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/view/widget/instance_ticker_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ class InstanceTickerWidget extends ConsumerWidget {
child: Padding(
padding: const EdgeInsets.all(1.0),
child: Text(
(instance != null ? instance?.name : meta?.name) ?? '',
instance != null
? instance?.name ?? host ?? ''
: meta?.name ?? account.host,
style: style.copyWith(
color: Colors.white,
height: 1.0,
Expand Down

0 comments on commit 927187d

Please sign in to comment.