mirror of
				https://github.com/KokaKiwi/BarInsta
				synced 2025-10-31 03:25:34 +00:00 
			
		
		
		
	allow anon viewing of comments
This commit is contained in:
		
							parent
							
								
									4d16a94276
								
							
						
					
					
						commit
						387a56faf5
					
				| @ -421,10 +421,6 @@ public class PostViewV2Fragment extends SharedElementTransitionDialogFragment { | ||||
|     } | ||||
| 
 | ||||
|     private void setupComment() { | ||||
|         if (!isLoggedIn) { | ||||
|             binding.comment.setVisibility(View.GONE); | ||||
|             return; | ||||
|         } | ||||
|         binding.comment.setOnClickListener(v -> { | ||||
|             final NavController navController = getNavController(); | ||||
|             if (navController == null) return; | ||||
| @ -1129,8 +1125,8 @@ public class PostViewV2Fragment extends SharedElementTransitionDialogFragment { | ||||
|             binding.captionToggle.setVisibility(View.VISIBLE); | ||||
|             binding.download.setVisibility(View.VISIBLE); | ||||
|             binding.share.setVisibility(View.VISIBLE); | ||||
|             binding.comment.setVisibility(View.VISIBLE); | ||||
|             if (isLoggedIn) { | ||||
|                 binding.comment.setVisibility(View.VISIBLE); | ||||
|                 binding.like.setVisibility(View.VISIBLE); | ||||
|                 binding.save.setVisibility(View.VISIBLE); | ||||
|             } | ||||
|  | ||||
| @ -26,6 +26,7 @@ | ||||
|         android:layout_height="wrap_content" | ||||
|         android:layout_margin="4dp" | ||||
|         android:hint="@string/comment_hint" | ||||
|         android:visibility="gone" | ||||
|         app:counterEnabled="true" | ||||
|         app:counterMaxLength="2200" | ||||
|         app:endIconDrawable="@drawable/ic_send_24" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user