opt: sealed LoadingState (#765)

This commit is contained in:
My-Responsitories
2025-04-27 22:17:36 +08:00
committed by GitHub
parent d4d1602b45
commit bb6bd95e9b
54 changed files with 16 additions and 61 deletions

View File

@@ -116,7 +116,6 @@ class _LivePageState extends CommonPageState<LivePage, LiveController>
errMsg: loadingState.errMsg,
onReload: controller.onReload,
),
_ => throw UnimplementedError(),
};
}
@@ -267,7 +266,6 @@ class _LivePageState extends CommonPageState<LivePage, LiveController>
),
),
),
LoadingState() => throw UnimplementedError(),
};
}
@@ -329,7 +327,6 @@ class _LivePageState extends CommonPageState<LivePage, LiveController>
..fetchLiveFollowing();
},
),
LoadingState() => throw UnimplementedError(),
};
}
}