Removed autouptdate option on unsupported servers

This commit is contained in:
Juan Gilsanz Polo 2023-04-15 02:24:48 +02:00
parent 37af353cda
commit 67b41b3382

View file

@ -127,7 +127,7 @@ class Settings extends StatelessWidget {
)
},
),
if (serversProvider.updateAvailable.data != null) CustomListTile(
if (serversProvider.updateAvailable.data != null && serversProvider.updateAvailable.data!.canAutoupdate == true) CustomListTile(
icon: Icons.system_update_rounded,
title: AppLocalizations.of(context)!.updates,
subtitle: AppLocalizations.of(context)!.updatesDescription,