mirror of
				https://github.com/recloudstream/cloudstream.git
				synced 2024-08-15 01:53:11 +00:00 
			
		
		
		
	Fix minor layout inconsistency
This commit is contained in:
		
							parent
							
								
									18d257eb2a
								
							
						
					
					
						commit
						4bb15a61c2
					
				
					 2 changed files with 6 additions and 6 deletions
				
			
		|  | @ -175,12 +175,12 @@ class PluginAdapter( | |||
|             itemView.ext_version?.isVisible = true | ||||
|             itemView.ext_version?.text = "v${metadata.version}" | ||||
| 
 | ||||
|             if (metadata.language != null) { | ||||
|             if (metadata.language.isNullOrBlank()) { | ||||
|                 itemView.lang_icon?.isVisible = false | ||||
|             } else { | ||||
|                 itemView.lang_icon?.isVisible = true | ||||
|                 //itemView.lang_icon.text = getFlagFromIso(metadata.language) | ||||
|                 itemView.lang_icon.text = fromTwoLettersToLanguage(metadata.language) | ||||
|             } else { | ||||
|                 itemView.lang_icon?.isVisible = false | ||||
|             } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -44,6 +44,7 @@ | |||
|                 android:id="@+id/lang_icon" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="match_parent" | ||||
|                 android:layout_marginEnd="5dp" | ||||
|                 android:text="🇷🇼" | ||||
| 
 | ||||
|                 android:textColor="?attr/grayTextColor" | ||||
|  | @ -55,7 +56,7 @@ | |||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_gravity="center_vertical" | ||||
|                 android:layout_marginStart="5dp" | ||||
|                 android:layout_marginEnd="5dp" | ||||
|                 android:text="v1" | ||||
|                 android:textColor="?attr/grayTextColor" | ||||
|                 android:visibility="gone" | ||||
|  | @ -66,7 +67,7 @@ | |||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_gravity="center_vertical" | ||||
|                 android:layout_marginStart="5dp" | ||||
|                 android:layout_marginEnd="5dp" | ||||
|                 android:text="100MB" | ||||
|                 android:textColor="?attr/grayTextColor" | ||||
|                 android:visibility="gone" | ||||
|  | @ -76,7 +77,6 @@ | |||
|                 android:id="@+id/nsfw_marker" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_marginStart="5dp" | ||||
|                 android:text="@string/is_adult" | ||||
|                 android:textColor="@color/adultColor" | ||||
|                 android:visibility="gone" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue