Readded pull to refresh on logs

This commit is contained in:
Juan Gilsanz Polo 2023-09-13 01:17:19 +02:00
parent d69da88b01
commit 87bcdd337f
2 changed files with 72 additions and 65 deletions

View file

@ -301,6 +301,7 @@ class _HomeState extends State<Home> {
child: Builder(
builder: (context) => RefreshIndicator(
color: Theme.of(context).colorScheme.primary,
displacement: 95,
onRefresh: () async {
final result = await statusProvider.getServerStatus();
if (result == false) {