mirror of
				https://github.com/KokaKiwi/BarInsta
				synced 2025-10-31 03:25:34 +00:00 
			
		
		
		
	apparently no caption id doesn't mean no caption
This commit is contained in:
		
							parent
							
								
									11a180d8f3
								
							
						
					
					
						commit
						0ec9e02e2a
					
				| @ -751,7 +751,7 @@ public class PostViewV2Fragment extends SharedElementTransitionDialogFragment { | ||||
|             if (bottomSheetBehavior.getState() == BottomSheetBehavior.STATE_EXPANDED) return; | ||||
|             bottomSheetBehavior.setState(BottomSheetBehavior.STATE_EXPANDED); | ||||
|         }); | ||||
|         if (TextUtils.isEmpty(feedModel.getCaptionId())) | ||||
|         if (TextUtils.isEmpty(feedModel.getCaptionId()) || TextUtils.isEmpty(feedModel.getPostCaption())) | ||||
|             binding.translateTitle.setVisibility(View.GONE); | ||||
|         else binding.translateTitle.setOnClickListener(v -> { | ||||
|             mediaService.translate(feedModel.getCaptionId(), "1", new ServiceCallback<String>() { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user