mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 15:23:00 +00:00 
			
		
		
		
	Update filepicker to the newest version and Fix for #343
This commit is contained in:
		| @@ -43,6 +43,6 @@ dependencies { | ||||
|     compile 'com.github.nirhart:parallaxscroll:1.0' | ||||
|     compile 'com.google.android.exoplayer:exoplayer:r1.5.5' | ||||
|     compile 'com.google.code.gson:gson:2.4' | ||||
|     compile 'com.nononsenseapps:filepicker:2.0.5' | ||||
|     compile 'com.nononsenseapps:filepicker:3.0.0' | ||||
|     testCompile 'junit:junit:4.12' | ||||
| } | ||||
|   | ||||
| @@ -141,7 +141,7 @@ | ||||
|             android:name="com.nononsenseapps.filepicker.FilePickerActivity" | ||||
|             android:label="@string/app_name" | ||||
|             android:theme="@style/FilePickerTheme" | ||||
|             android:launchMode="singleTask"> | ||||
|             android:launchMode="singleTop"> | ||||
|         </activity> | ||||
|  | ||||
|     </application> | ||||
|   | ||||
| @@ -1,13 +1,8 @@ | ||||
| package org.schabi.newpipe; | ||||
|  | ||||
| import android.app.Activity; | ||||
| import android.content.ClipData; | ||||
| import android.content.Context; | ||||
| import android.content.Intent; | ||||
| import android.content.SharedPreferences; | ||||
| import android.content.res.Configuration; | ||||
| import android.net.Uri; | ||||
| import android.os.Build; | ||||
| import android.os.Bundle; | ||||
| import android.preference.PreferenceActivity; | ||||
| import android.support.annotation.LayoutRes; | ||||
|   | ||||
| @@ -50,7 +50,7 @@ | ||||
|  | ||||
|  | ||||
|     <!-- You can also inherit from NNF_BaseTheme.Light --> | ||||
|     <style name="FilePickerTheme" parent="Theme.AppCompat.Light.NoActionBar"> | ||||
|     <style name="FilePickerTheme" parent="NNF_BaseTheme.Light"> | ||||
|         <!-- Set these to match your theme --> | ||||
|         <item name="colorPrimary">@color/light_youtube_primary_color</item> | ||||
|         <item name="colorPrimaryDark">@color/light_youtube_dark_color</item> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 David
					David