mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 04:12:20 +08:00
revert back to hasScrollBody=false, though true can remember scroll
position, but it causes much more problems
This commit is contained in:
parent
fea9cfba7f
commit
977ac2a3b2
@ -388,7 +388,7 @@ class _PeerSortDropdownState extends State<PeerSortDropdown> {
|
||||
var menuPos = RelativeRect.fromLTRB(0, 0, 0, 0);
|
||||
return InkWell(
|
||||
child: Icon(
|
||||
Icons.sort,
|
||||
Icons.sort_rounded,
|
||||
size: 18,
|
||||
),
|
||||
onTapDown: (details) {
|
||||
|
@ -134,7 +134,7 @@ class _ConnectionPageState extends State<ConnectionPage>
|
||||
Divider().paddingOnly(right: 12),
|
||||
])),
|
||||
SliverFillRemaining(
|
||||
hasScrollBody: true,
|
||||
hasScrollBody: false,
|
||||
child: PeerTabPage().paddingOnly(right: 12.0),
|
||||
)
|
||||
],
|
||||
@ -245,8 +245,6 @@ class _ConnectionPageState extends State<ConnectionPage>
|
||||
final em = 14.0;
|
||||
return Container(
|
||||
height: 3 * em,
|
||||
color: Theme.of(context)
|
||||
.scaffoldBackgroundColor, // has to set this if using hasScrollBody in above silvers
|
||||
child: Obx(() => Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
|
Loading…
Reference in New Issue
Block a user