TF-1371 Remove object not used

(cherry picked from commit 96a220da5f4ea22fc5a3064ba8646f41d6970a77)
This commit is contained in:
dab246
2023-03-14 21:32:18 +07:00
committed by Dat Vu
parent a5c0fd785f
commit 5eb61a87a3
@@ -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) {
final link = data['url'];
if (link != null && mounted) {