mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-30 23:29:47 +08:00
@@ -52,7 +52,7 @@ class _LiveEmotePanelState extends State<LiveEmotePanel>
|
||||
);
|
||||
return switch (loadingState) {
|
||||
Loading() => loadingWidget,
|
||||
Success(:var response) =>
|
||||
Success(:final response) =>
|
||||
response != null && response.isNotEmpty
|
||||
? Column(
|
||||
children: [
|
||||
@@ -191,7 +191,7 @@ class _LiveEmotePanelState extends State<LiveEmotePanel>
|
||||
],
|
||||
)
|
||||
: _errorWidget(),
|
||||
Error(:var errMsg) => _errorWidget(errMsg),
|
||||
Error(:final errMsg) => _errorWidget(errMsg),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user