mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-23 12:00:13 +08:00
replace SelectableText with SelectionArea
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import 'dart:io' show Platform;
|
||||
|
||||
import 'package:PiliPlus/common/widgets/scroll_physics.dart'
|
||||
show NeverSelectableScrollPhysics;
|
||||
import 'package:PiliPlus/common/widgets/selection_text.dart';
|
||||
import 'package:PiliPlus/http/browser_ua.dart';
|
||||
import 'package:PiliPlus/main.dart';
|
||||
import 'package:PiliPlus/models/common/webview_menu_type.dart';
|
||||
@@ -270,10 +269,7 @@ class _WebviewPageState extends State<WebviewPage> {
|
||||
'下载文件: $suggestedFilename ?',
|
||||
style: const TextStyle(fontSize: 18),
|
||||
),
|
||||
content: SelectableText(
|
||||
request.url.toString(),
|
||||
scrollPhysics: const NeverSelectableScrollPhysics(),
|
||||
),
|
||||
content: SelectionText(request.url.toString()),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: Get.back,
|
||||
|
||||
Reference in New Issue
Block a user