mirror of
				https://framagit.org/tom79/fedilab-tube
				synced 2025-06-05 21:09:11 +02:00 
			
		
		
		
	Last fixes
This commit is contained in:
		| @@ -743,7 +743,11 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd | |||||||
|         }); |         }); | ||||||
|  |  | ||||||
|         if (peertube.isCommentsEnabled()) { |         if (peertube.isCommentsEnabled()) { | ||||||
|             binding.postCommentButton.setVisibility(View.VISIBLE); |             if (Helper.isLoggedIn(PeertubeActivity.this)) { | ||||||
|  |                 binding.postCommentButton.setVisibility(View.VISIBLE); | ||||||
|  |             } else { | ||||||
|  |                 binding.postCommentButton.setVisibility(View.GONE); | ||||||
|  |             } | ||||||
|             CommentVM commentViewModel = new ViewModelProvider(PeertubeActivity.this).get(CommentVM.class); |             CommentVM commentViewModel = new ViewModelProvider(PeertubeActivity.this).get(CommentVM.class); | ||||||
|             commentViewModel.getThread(sepiaSearch ? peertubeInstance : null, videoUuid, max_id).observe(PeertubeActivity.this, this::manageVIewComment); |             commentViewModel.getThread(sepiaSearch ? peertubeInstance : null, videoUuid, max_id).observe(PeertubeActivity.this, this::manageVIewComment); | ||||||
|             if (Helper.isLoggedIn(PeertubeActivity.this) && !sepiaSearch) { |             if (Helper.isLoggedIn(PeertubeActivity.this) && !sepiaSearch) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user