mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-19 21:43:20 +03:00
add ScrollController to each ScrollView
fix "The provided ScrollController is currently attached to more than one ScrollPosition" Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -203,6 +203,7 @@ class _FileManagerPageState extends State<FileManagerPage> {
|
||||
headTools(),
|
||||
Expanded(
|
||||
child: ListView.builder(
|
||||
controller: ScrollController(),
|
||||
itemCount: entries.length + 1,
|
||||
itemBuilder: (context, index) {
|
||||
if (index >= entries.length) {
|
||||
|
||||
Reference in New Issue
Block a user