mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-04-19 05:19:11 +00:00
Fix bottom padding top items list
This commit is contained in:
parent
9eb200f5da
commit
b223076dae
1 changed files with 13 additions and 10 deletions
|
@ -187,16 +187,19 @@ class _TopItemsScreenState extends State<TopItemsScreen> {
|
|||
),
|
||||
),
|
||||
),
|
||||
if (sortedValues.isNotEmpty) SliverList.builder(
|
||||
itemCount: sortedValues.length,
|
||||
itemBuilder: (context, index) => _Item(
|
||||
data: sortedValues[index],
|
||||
isClient: widget.isClient,
|
||||
options: widget.options,
|
||||
total: total,
|
||||
withProgressBar: widget.withProgressBar,
|
||||
onTapEntry: widget.onTapEntry,
|
||||
buildValue: widget.buildValue,
|
||||
if (sortedValues.isNotEmpty) SliverPadding(
|
||||
padding: EdgeInsets.only(bottom: MediaQuery.of(context).viewPadding.bottom),
|
||||
sliver: SliverList.builder(
|
||||
itemCount: sortedValues.length,
|
||||
itemBuilder: (context, index) => _Item(
|
||||
data: sortedValues[index],
|
||||
isClient: widget.isClient,
|
||||
options: widget.options,
|
||||
total: total,
|
||||
withProgressBar: widget.withProgressBar,
|
||||
onTapEntry: widget.onTapEntry,
|
||||
buildValue: widget.buildValue,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue