mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	Fixed the issue with shortcuts (#4195)
Co-authored-by: Pratham2305 <Pratham2305@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									e82fdd0f4f
								
							
						
					
					
						commit
						d6dcd43902
					
				
					 3 changed files with 36 additions and 20 deletions
				
			
		
							
								
								
									
										18
									
								
								app/src/beta/res/xml/shortcuts.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								app/src/beta/res/xml/shortcuts.xml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,18 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <shortcuts xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|   xmlns:tools="http://schemas.android.com/tools"> | ||||
| 
 | ||||
|   <shortcut | ||||
|     android:enabled="true" | ||||
|     android:icon="@mipmap/ic_settings_black" | ||||
|     android:shortcutId="Setting" | ||||
|     android:shortcutLongLabel="@string/title_app_shortcut_setting" | ||||
|     android:shortcutShortLabel="@string/title_app_shortcut_setting" | ||||
|     tools:targetApi="n_mr1"> | ||||
|     <intent | ||||
|       android:action="android.intent.action.VIEW" | ||||
|       android:targetClass="fr.free.nrw.commons.settings.SettingsActivity" | ||||
|       android:targetPackage="fr.free.nrw.commons.beta" /> | ||||
|   </shortcut> | ||||
| 
 | ||||
| </shortcuts> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Pratham Pahariya
						Pratham Pahariya