mirror of
				https://codeberg.org/tom79/Fedilab.git
				synced 2025-10-20 11:20:16 +03:00 
			
		
		
		
	Fix #38 - Reblog header applied on not boosted messages
This commit is contained in:
		
							parent
							
								
									dc899bdb7d
								
							
						
					
					
						commit
						03e30bdfc3
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -256,6 +256,8 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (theme_boost_header_color != -1 && status.reblog != null) {
 | 
					        if (theme_boost_header_color != -1 && status.reblog != null) {
 | 
				
			||||||
            holder.binding.headerContainer.setBackgroundColor(theme_boost_header_color);
 | 
					            holder.binding.headerContainer.setBackgroundColor(theme_boost_header_color);
 | 
				
			||||||
 | 
					        } else {
 | 
				
			||||||
 | 
					            holder.binding.headerContainer.setBackgroundColor(0);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (theme_text_color != -1) {
 | 
					        if (theme_text_color != -1) {
 | 
				
			||||||
            holder.binding.statusContent.setTextColor(theme_text_color);
 | 
					            holder.binding.statusContent.setTextColor(theme_text_color);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue