mirror of
				https://github.com/recloudstream/cloudstream.git
				synced 2024-08-15 01:53:11 +00:00 
			
		
		
		
	Fix focusing add repo on firestick
This commit is contained in:
		
							parent
							
								
									661f8c3c4e
								
							
						
					
					
						commit
						1228701f0e
					
				
					 2 changed files with 7 additions and 0 deletions
				
			
		|  | @ -232,6 +232,11 @@ class ExtensionsFragment : Fragment() { | |||
|         val isTv = isTrueTvSettings() | ||||
|         add_repo_button?.isGone = isTv | ||||
|         add_repo_button_imageview_holder?.isVisible = isTv | ||||
| 
 | ||||
|         // Band-aid for Fire TV | ||||
|         plugin_storage_appbar?.isFocusableInTouchMode = isTv | ||||
|         add_repo_button_imageview?.isFocusableInTouchMode = isTv | ||||
| 
 | ||||
|         add_repo_button?.setOnClickListener(addRepositoryClick) | ||||
|         add_repo_button_imageview?.setOnClickListener(addRepositoryClick) | ||||
| 
 | ||||
|  |  | |||
|  | @ -56,6 +56,7 @@ | |||
|     </LinearLayout> | ||||
| 
 | ||||
|     <LinearLayout | ||||
|         android:focusable="true" | ||||
|         android:id="@+id/plugin_storage_appbar" | ||||
|         android:nextFocusRight="@id/add_repo_button_imageview" | ||||
|         android:layout_width="match_parent" | ||||
|  | @ -185,6 +186,7 @@ | |||
|                 android:background="@drawable/outline_drawable" | ||||
|                 android:nextFocusLeft="@id/plugin_storage_appbar" | ||||
|                 android:layout_gravity="center" | ||||
|                 android:focusable="true" | ||||
| 
 | ||||
|                 android:id="@+id/add_repo_button_imageview" | ||||
|                 android:layout_width="40dp" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue