diff --git a/lib/live_info_panel.dart b/lib/live_info_panel.dart index 9c35d3b..9a07581 100644 --- a/lib/live_info_panel.dart +++ b/lib/live_info_panel.dart @@ -20,10 +20,12 @@ class LiveInfoPanel extends StatelessWidget { final LiveInfoSnapshot? snapshot = liveInfo.snapshot; final LiveInfoTrackInfo? current = snapshot?.current; final LiveInfoTrackInfo? next = snapshot?.next; - final LiveInfoShowInfo? currentShow = - snapshot?.currentShow.isEmpty ?? true ? null : snapshot!.currentShow.first; - final LiveInfoShowInfo? nextShow = - snapshot?.nextShow.isEmpty ?? true ? null : snapshot!.nextShow.first; + final LiveInfoShowInfo? currentShow = snapshot?.currentShow.isEmpty ?? true + ? null + : snapshot!.currentShow.first; + final LiveInfoShowInfo? nextShow = snapshot?.nextShow.isEmpty ?? true + ? null + : snapshot!.nextShow.first; return Container( decoration: BoxDecoration( @@ -116,7 +118,9 @@ class LiveInfoPanel extends StatelessWidget { ), IconButton( tooltip: 'Refresh now', - onPressed: liveInfo.isLoading ? null : () => liveInfo.refresh(), + onPressed: liveInfo.isLoading + ? null + : () => liveInfo.refresh(), icon: const Icon(Icons.refresh_rounded), ), ], @@ -199,7 +203,8 @@ class LiveInfoPanel extends StatelessWidget { color: Colors.black.withValues(alpha: 0.08), ), itemBuilder: (BuildContext context, int index) { - final RecentPlayedItem item = liveInfo.recentPlayed[index]; + final RecentPlayedItem item = + liveInfo.recentPlayed[index]; return ListTile( dense: true, contentPadding: const EdgeInsets.symmetric(