fix: Volume resize function didn't work due to logical error

This commit is contained in:
Inex Code 2024-08-21 07:47:58 +03:00
parent e58ae99cd7
commit da9ac1b935

View file

@ -208,7 +208,7 @@ class VolumesBloc extends Bloc<VolumesEvent, VolumesState> {
if (state is! VolumesLoaded) {
return;
}
if (ProvidersController.currentServerProvider?.isAuthorized ?? false) {
if (!(ProvidersController.currentServerProvider?.isAuthorized ?? false)) {
return;
}
getIt<NavigationService>().showSnackBar(