Give a bit more detail in the repeat enabled message

This commit is contained in:
Christopher Eby 2010-05-23 13:50:21 -05:00
parent c90934c1a1
commit 25ed28af37
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
<string name="shuffle_disabling">Shuffle disabled</string>
<string name="repeat_enable">Enable Repeat</string>
<string name="repeat_disable">Disable Repeat</string>
<string name="repeat_enabling">Repeat enabled</string>
<string name="repeat_enabling">Repeat enabled. The current song and any songs you have added after it will be repeated.</string>
<string name="repeat_disabling">Repeat disabled</string>
<!-- Widgets -->

View File

@ -240,7 +240,7 @@ public class PlaybackActivity extends Activity implements Handler.Callback, View
text = enabling ? R.string.repeat_enabling : R.string.repeat_disabling;
if (text != -1)
Toast.makeText(this, text, Toast.LENGTH_SHORT).show();
Toast.makeText(this, text, enabling ? Toast.LENGTH_LONG : Toast.LENGTH_SHORT).show();
ContextApplication.getService().toggleFlag(flag);
break;