parent
e28a70a6e6
commit
eaef36849a
|
@ -248,9 +248,6 @@ public class SubsonicActivity extends AppCompatActivity implements OnItemSelecte
|
||||||
case R.id.drawer_downloading:
|
case R.id.drawer_downloading:
|
||||||
drawerItemSelected("Download");
|
drawerItemSelected("Download");
|
||||||
return true;
|
return true;
|
||||||
case R.id.drawer_now_playing:
|
|
||||||
drawerItemSelected("Now Playing");
|
|
||||||
return true;
|
|
||||||
case R.id.drawer_offline:
|
case R.id.drawer_offline:
|
||||||
toggleOffline();
|
toggleOffline();
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -551,8 +551,6 @@ public class SubsonicFragmentActivity extends SubsonicActivity implements Downlo
|
||||||
switch (fragmentType) {
|
switch (fragmentType) {
|
||||||
case "Playlist":
|
case "Playlist":
|
||||||
return new SelectPlaylistFragment();
|
return new SelectPlaylistFragment();
|
||||||
case "Now Playing":
|
|
||||||
return new NowPlayingFragment();
|
|
||||||
case "Download":
|
case "Download":
|
||||||
return new DownloadFragment();
|
return new DownloadFragment();
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -128,7 +128,7 @@ public class NowPlayingFragment extends SubsonicFragment implements OnGestureLis
|
||||||
startFlipped = true;
|
startFlipped = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
primaryFragment = true;
|
primaryFragment = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -14,10 +14,6 @@
|
||||||
android:icon="?attr/drawerDownloading"
|
android:icon="?attr/drawerDownloading"
|
||||||
android:title="@string/button_bar.downloading"
|
android:title="@string/button_bar.downloading"
|
||||||
android:visible="false" />
|
android:visible="false" />
|
||||||
<item
|
|
||||||
android:id="@+id/drawer_now_playing"
|
|
||||||
android:icon="?attr/drawerNowPlaying"
|
|
||||||
android:title="@string/button_bar.now_playing" />
|
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group android:checkableBehavior="single">
|
<group android:checkableBehavior="single">
|
||||||
|
|
|
@ -43,7 +43,6 @@
|
||||||
<attr name="drawerLibrary" format="reference" />
|
<attr name="drawerLibrary" format="reference" />
|
||||||
<attr name="drawerPlaylists" format="reference" />
|
<attr name="drawerPlaylists" format="reference" />
|
||||||
<attr name="drawerDownloading" format="reference" />
|
<attr name="drawerDownloading" format="reference" />
|
||||||
<attr name="drawerNowPlaying" format="reference" />
|
|
||||||
<attr name="drawerSettings" format="reference" />
|
<attr name="drawerSettings" format="reference" />
|
||||||
<attr name="actionbarThemeStyle" format="reference" />
|
<attr name="actionbarThemeStyle" format="reference" />
|
||||||
<attr name="actionbarTitleStyle" format="reference" />
|
<attr name="actionbarTitleStyle" format="reference" />
|
||||||
|
|
Loading…
Reference in New Issue