mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-04-03 01:07:01 +00:00

As the fragment context can be null in some cases, we have to make sure that the context is not null before calling DeviceUtils.hasAnimationsAnimatorDurationEnabled. If the context is null, the button will now not be hidden automatically.