mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 15:23:00 +00:00 
			
		
		
		
	Fix NullPointerException
This commit is contained in:
		| @@ -214,7 +214,7 @@ public class VideoDetailFragment extends BaseFragment implements StreamExtractor | |||||||
|         // Currently only used for enable/disable related videos |         // Currently only used for enable/disable related videos | ||||||
|         // but can be extended for other live settings changes |         // but can be extended for other live settings changes | ||||||
|         if (updateFlags != 0) { |         if (updateFlags != 0) { | ||||||
|             if (!isLoading.get()) { |             if (!isLoading.get() && currentStreamInfo != null) { | ||||||
|                 if ((updateFlags & RELATED_STREAMS_UPDATE_FLAG) != 0) initRelatedVideos(currentStreamInfo); |                 if ((updateFlags & RELATED_STREAMS_UPDATE_FLAG) != 0) initRelatedVideos(currentStreamInfo); | ||||||
|                 if ((updateFlags & RESOLUTIONS_MENU_UPDATE_FLAG) != 0) setupActionBarHandler(currentStreamInfo); |                 if ((updateFlags & RESOLUTIONS_MENU_UPDATE_FLAG) != 0) setupActionBarHandler(currentStreamInfo); | ||||||
|             } |             } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Mauricio Colli
					Mauricio Colli