Skip to content

Commit

Permalink
Remove donation section
Browse files Browse the repository at this point in the history
  • Loading branch information
amuttsch committed Aug 30, 2020
1 parent ac0bade commit ccdc699
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 363 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
import de.qspool.clementineremote.backend.pb.ClementineMessageFactory;
import de.qspool.clementineremote.backend.pb.ClementineRemoteProtocolBuffer.MsgType;
import de.qspool.clementineremote.ui.adapter.NavigationDrawerListAdapter;
import de.qspool.clementineremote.ui.fragments.DonateFragment;
import de.qspool.clementineremote.ui.fragments.DownloadsFragment;
import de.qspool.clementineremote.ui.fragments.GlobalSearchFragment;
import de.qspool.clementineremote.ui.fragments.LibraryFragment;
Expand Down Expand Up @@ -126,7 +125,6 @@ public void onCreate(Bundle savedInstanceState) {
mFragments.add(new PlaylistFragment());
mFragments.add(new LibraryFragment());
mFragments.add(new DownloadsFragment());
mFragments.add(new DonateFragment());

setSupportActionBar((Toolbar) findViewById(R.id.toolbar));

Expand Down Expand Up @@ -519,14 +517,9 @@ public void run() {
ClementineSettings.class);
startActivity(settingsIntent);
break;
case 7: // Donate
ft.replace(R.id.content_frame, mFragments.get(5)).commit();
mCurrentFragment = 5;
mLastPosition = position;
break;
case 8: // Header Disconnect
case 7: // Header Disconnect
break;
case 9: // Quit
case 8: // Quit
mOpenConnectDialog = false;
requestDisconnect();
default:
Expand Down

This file was deleted.

88 changes: 0 additions & 88 deletions app/src/main/res/layout/fragment_donation.xml

This file was deleted.

1 change: 0 additions & 1 deletion app/src/main/res/values/ids.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<item>@drawable/nav_downloads</item>
<item />
<item>@drawable/nav_settings</item>
<item>@drawable/nav_donate</item>
<item />
<item>@drawable/nav_quit</item>
</array>
Expand Down
Loading

0 comments on commit ccdc699

Please sign in to comment.