mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-01 18:31:45 +02:00
Removed settings menu entry
This commit is contained in:
parent
554bb7c25d
commit
d014e79ad0
3 changed files with 4 additions and 7 deletions
|
@ -136,10 +136,7 @@ public class MainActivity extends AppCompatActivity implements ClientInfoItem.Cl
|
|||
int id = item.getItemId();
|
||||
|
||||
//noinspection SimplifiableIfStatement
|
||||
if (id == R.id.action_settings) {
|
||||
Toast.makeText(this, "Not implemented", Toast.LENGTH_SHORT).show();
|
||||
return true;
|
||||
} else if (id == R.id.action_scan) {
|
||||
if (id == R.id.action_scan) {
|
||||
initializeDiscoveryListener();
|
||||
return true;
|
||||
} else if (id == R.id.action_play_stop) {
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
android:title="@string/action_play_stop"
|
||||
android:icon="@android:drawable/ic_media_play"
|
||||
app:showAsAction="always" />
|
||||
<item
|
||||
<!-- <item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
android:title="@string/action_settings"
|
||||
app:showAsAction="never" />
|
||||
app:showAsAction="never" /> -->
|
||||
<item
|
||||
android:id="@+id/action_scan"
|
||||
android:orderInCategory="100"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<string name="title_activity_snapcast">Snapcast</string>
|
||||
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="action_scan">Scan</string>
|
||||
<string name="action_scan">Scan for server</string>
|
||||
<string name="action_refresh">Refresh client list</string>
|
||||
<string name="action_hide_offline">Hide offline clients</string>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue