基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。
refactor(bbcode): remove selection area
Prediditc8994b0a0708
diff --git a/lib/bbcode/bbcode_widget.dart b/lib/bbcode/bbcode_widget.dartindex d7ff6d24..5b6352a9 100644--- a/lib/bbcode/bbcode_widget.dart+++ b/lib/bbcode/bbcode_widget.dart@@ -1,4 +1,3 @@-import 'dart:ui' as ui;import 'package:flutter/gestures.dart';import 'package:flutter/material.dart';import 'package:antlr4/antlr4.dart';@@ -73,8 +72,9 @@ class _BBCodeWidgetState extends State<BBCodeWidget> {return Wrap(children: [- SelectableText.rich(- TextSpan(+ RichText(+ text: TextSpan(+ style: DefaultTextStyle.of(context).style,children: bbcodeBaseListener.bbcode.map((e) {if (e is BBCodeText) {Color? textColor = (!_isVisible && e.masked)@@ -196,7 +196,6 @@ class _BBCodeWidgetState extends State<BBCodeWidget> {}}).toList(),),- selectionHeightStyle: ui.BoxHeightStyle.max,),],);diff --git a/lib/bean/widget/image_preview.dart b/lib/bean/widget/image_preview.dartindex 272c7a24..f4abd13d 100644--- a/lib/bean/widget/image_preview.dart+++ b/lib/bean/widget/image_preview.dart@@ -84,7 +84,7 @@ class _ImageViewerState extends State<ImageViewer> {}void _closePreview() {- Modular.to.pop();+ Navigator.of(context).pop();}@overridediff --git a/lib/pages/info/character_page.dart b/lib/pages/info/character_page.dartindex 0f5cef3e..99a3ee2e 100644--- a/lib/pages/info/character_page.dart+++ b/lib/pages/info/character_page.dart@@ -279,10 +279,8 @@ class _CharacterPageState extends State<CharacterPage> {keepAlive: true,child: IndexedSemantics(index: index,- child: SelectionArea(- child: CharacterCommentsCard(- commentItem: commentsList[index],- ),+ child: CharacterCommentsCard(+ commentItem: commentsList[index],),),);diff --git a/lib/pages/player/episode_comments_sheet.dart b/lib/pages/player/episode_comments_sheet.dartindex abf0b2b7..c21a1184 100644--- a/lib/pages/player/episode_comments_sheet.dart+++ b/lib/pages/player/episode_comments_sheet.dart@@ -138,11 +138,9 @@ class _EpisodeCommentsSheetState extends State<EpisodeCommentsSheet> {keepAlive: true,child: IndexedSemantics(index: index,- child: SelectionArea(- child: EpisodeCommentsCard(- commentItem:- videoPageController.episodeCommentsList[index],- ),+ child: EpisodeCommentsCard(+ commentItem:+ videoPageController.episodeCommentsList[index],),),);