TF-1371 Remove object not used
(cherry picked from commit 96a220da5f4ea22fc5a3064ba8646f41d6970a77)
This commit is contained in:
@@ -225,13 +225,6 @@ class _HtmlContentViewerOnWebState extends State<HtmlContentViewerOnWeb> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data['type'] != null && data['type'].contains('toDart: onChangeContent') && data['view'] == createdViewId) {
|
|
||||||
Scrollable.of(context).position.ensureVisible(
|
|
||||||
context.findRenderObject()!,
|
|
||||||
duration: const Duration(milliseconds: 100),
|
|
||||||
curve: Curves.easeIn);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (data['type'] != null && data['type'].contains('toDart: OpenLink') && data['view'] == createdViewId) {
|
if (data['type'] != null && data['type'].contains('toDart: OpenLink') && data['view'] == createdViewId) {
|
||||||
final link = data['url'];
|
final link = data['url'];
|
||||||
if (link != null && mounted) {
|
if (link != null && mounted) {
|
||||||
|
|||||||
Reference in New Issue
Block a user