mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-04-22 14:59:12 +00:00
Added padding bottom list live logs
This commit is contained in:
parent
f7c3ba0374
commit
29af26f118
1 changed files with 25 additions and 22 deletions
|
@ -51,13 +51,15 @@ class LiveLogsList extends StatelessWidget {
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||||
fontSize: 24
|
fontSize: 22
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (liveLogsProvider.logs.isNotEmpty) SliverList.builder(
|
if (liveLogsProvider.logs.isNotEmpty) SliverPadding(
|
||||||
|
padding: EdgeInsets.only(bottom: MediaQuery.of(context).viewPadding.bottom),
|
||||||
|
sliver: SliverList.builder(
|
||||||
itemCount: liveLogsProvider.logs.length,
|
itemCount: liveLogsProvider.logs.length,
|
||||||
itemBuilder: (context, index) => LogTile(
|
itemBuilder: (context, index) => LogTile(
|
||||||
log: liveLogsProvider.logs[index],
|
log: liveLogsProvider.logs[index],
|
||||||
|
@ -80,6 +82,7 @@ class LiveLogsList extends StatelessWidget {
|
||||||
isLogSelected: selectedLog == liveLogsProvider.logs[index],
|
isLogSelected: selectedLog == liveLogsProvider.logs[index],
|
||||||
twoColumns: twoColumns
|
twoColumns: twoColumns
|
||||||
),
|
),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Reference in a new issue