优化代码,删除无用代码

This commit is contained in:
DelLevin-Home
2026-07-16 05:04:17 +08:00
parent a07256a683
commit de8070f48c
9 changed files with 0 additions and 94 deletions

View File

@@ -359,17 +359,6 @@ class _EpubDetailPageState extends State<EpubDetailPage> {
);
}
Widget _buildTag(String label, ColorScheme colors) {
return Container(
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 3),
decoration: BoxDecoration(
color: colors.surfaceContainerHighest,
borderRadius: BorderRadius.circular(4),
),
child: Text(label, style: TextStyle(fontSize: 11, color: colors.onSurface.withValues(alpha: 0.5))),
);
}
Widget _buildLinkedBookCard(ColorScheme colors) {
final linkedBookId = _book['book_id'] as String? ?? '';
if (linkedBookId.isEmpty) {