Browse files

Fixed the about dialog menu item

  • Loading branch information...
1 parent 8d37b14 commit 5ed80a5fbdff35e11b5209af19017a0e252cd875 @kaaholst committed Mar 20, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/uk/org/ngo/squeezer/NowPlayingFragment.java
View
5 src/uk/org/ngo/squeezer/NowPlayingFragment.java
@@ -19,6 +19,7 @@
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;
+import uk.org.ngo.squeezer.dialogs.AboutDialog;
import uk.org.ngo.squeezer.dialogs.ConnectingDialog;
import uk.org.ngo.squeezer.dialogs.EnableWifiDialog;
import uk.org.ngo.squeezer.dialogs.SqueezerAuthenticationDialog;
@@ -743,9 +744,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
SqueezerPlayerListActivity.show(mActivity);
return true;
case R.id.menu_item_about:
- // XXX: Need to correct this (or push it in to the activity).
-
- // new AboutDialog().show(getSupportFragmentManager(), "AboutDialog");
+ new AboutDialog().show(getFragmentManager(), "AboutDialog");
return true;
}
return false;

0 comments on commit 5ed80a5

Please sign in to comment.