mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 15:23:00 +00:00 
			
		
		
		
	removed dot menu where its no longer needed
This commit is contained in:
		| @@ -551,8 +551,6 @@ public class MainActivity extends AppCompatActivity { | ||||
|         if (!(fragment instanceof SearchFragment)) { | ||||
|             findViewById(R.id.toolbar).findViewById(R.id.toolbar_search_container).setVisibility(View.GONE); | ||||
|  | ||||
|             MenuInflater inflater = getMenuInflater(); | ||||
|             inflater.inflate(R.menu.main_menu, menu); | ||||
|         } | ||||
|  | ||||
|         ActionBar actionBar = getSupportActionBar(); | ||||
| @@ -574,14 +572,6 @@ public class MainActivity extends AppCompatActivity { | ||||
|             case android.R.id.home: | ||||
|                 onHomeButtonPressed(); | ||||
|                 return true; | ||||
|             case R.id.action_show_downloads: | ||||
|                     return NavigationHelper.openDownloads(this); | ||||
|             case R.id.action_history: | ||||
|                     NavigationHelper.openStatisticFragment(getSupportFragmentManager()); | ||||
|                     return true; | ||||
|             case R.id.action_settings: | ||||
|                     NavigationHelper.openSettings(this); | ||||
|                     return true; | ||||
|             default: | ||||
|                 return super.onOptionsItemSelected(item); | ||||
|         } | ||||
|   | ||||
| @@ -99,11 +99,6 @@ public class AboutActivity extends AppCompatActivity { | ||||
|             case android.R.id.home: | ||||
|                 finish(); | ||||
|                 return true; | ||||
|             case R.id.action_settings: | ||||
|                 NavigationHelper.openSettings(this); | ||||
|                 return true; | ||||
|             case R.id.action_show_downloads: | ||||
|                 return NavigationHelper.openDownloads(this); | ||||
|         } | ||||
|  | ||||
|         return super.onOptionsItemSelected(item); | ||||
|   | ||||
| @@ -78,11 +78,7 @@ public class DownloadActivity extends AppCompatActivity { | ||||
|                 onBackPressed(); | ||||
|                 return true; | ||||
|             } | ||||
|             case R.id.action_settings: { | ||||
|                 Intent intent = new Intent(this, SettingsActivity.class); | ||||
|                 startActivity(intent); | ||||
|                 return true; | ||||
|             } | ||||
|  | ||||
|             default: | ||||
|                 return super.onOptionsItemSelected(item); | ||||
|         } | ||||
|   | ||||
| @@ -157,10 +157,6 @@ public abstract class ServicePlayerActivity extends AppCompatActivity | ||||
|             case R.id.action_append_playlist: | ||||
|                 appendAllToPlaylist(); | ||||
|                 return true; | ||||
|             case R.id.action_settings: | ||||
|                 NavigationHelper.openSettings(this); | ||||
|                 redraw = true; | ||||
|                 return true; | ||||
|             case R.id.action_system_audio: | ||||
|                 startActivity(new Intent(Settings.ACTION_SOUND_SETTINGS)); | ||||
|                 return true; | ||||
|   | ||||
| @@ -27,8 +27,4 @@ | ||||
|         android:title="@string/clear_finished_download" | ||||
|         app:showAsAction="ifRoom" /> | ||||
|  | ||||
|     <item android:id="@+id/action_settings" | ||||
|         android:title="@string/settings" | ||||
|         app:showAsAction="never" /> | ||||
|  | ||||
| </menu> | ||||
|   | ||||
| @@ -3,14 +3,4 @@ | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     tools:context="org.schabi.newpipe.about.AboutActivity"> | ||||
|  | ||||
|     <item android:id="@+id/action_show_downloads" | ||||
|         android:orderInCategory="980" | ||||
|         android:title="@string/downloads" | ||||
|         app:showAsAction="never"/> | ||||
|  | ||||
|     <item android:id="@+id/action_settings" | ||||
|         android:orderInCategory="990" | ||||
|         android:title="@string/settings" | ||||
|         app:showAsAction="never"/> | ||||
|  | ||||
| </menu> | ||||
|   | ||||
| @@ -10,11 +10,6 @@ | ||||
|         android:visible="true" | ||||
|         app:showAsAction="ifRoom"/> | ||||
|  | ||||
|     <item android:id="@+id/action_settings" | ||||
|         android:orderInCategory="990" | ||||
|         android:title="@string/settings" | ||||
|         app:showAsAction="never"/> | ||||
|  | ||||
|     <item android:id="@+id/action_system_audio" | ||||
|         android:orderInCategory="996" | ||||
|         android:title="@string/play_queue_audio_settings" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Karol Kaminski
					Karol Kaminski