properly format song share string
This commit is contained in:
parent
ccce5623b1
commit
308ef3c88e
3 changed files with 7 additions and 11 deletions
|
|
@ -36,15 +36,11 @@ public class SongShareDialog extends DialogFragment {
|
|||
startActivity(Intent.createChooser(MusicUtil.createShareSongFileIntent(song, getContext()), null));
|
||||
break;
|
||||
case 1:
|
||||
startActivity(
|
||||
Intent.createChooser(
|
||||
new Intent()
|
||||
.setAction(Intent.ACTION_SEND)
|
||||
.putExtra(Intent.EXTRA_TEXT, currentlyListening)
|
||||
.setType("text/plain"),
|
||||
null
|
||||
)
|
||||
);
|
||||
Intent intent = new Intent()
|
||||
.setAction(Intent.ACTION_SEND)
|
||||
.putExtra(Intent.EXTRA_TEXT, currentlyListening)
|
||||
.setType("text/plain");
|
||||
startActivity(Intent.createChooser(intent, null));
|
||||
break;
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="what_do_you_want_to_share">What do you want to share?</string>
|
||||
<string name="currently_listening_to_x_by_x">Currently listening to {%1$s} by {%2$s}.</string>
|
||||
<string name="currently_listening_to_x_by_x">Currently listening to %1$s by %2$s.</string>
|
||||
<string name="the_audio_file">The audio file</string>
|
||||
<string name="action_share">Share</string>
|
||||
<string name="action_settings">"Settings"</string>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="what_do_you_want_to_share">O que você quer compartilhar?</string>
|
||||
<string name="currently_listening_to_x_by_x">Atualmente ouvindo {% 1 $ s} em {% 2 $ s}.</string>
|
||||
<string name="currently_listening_to_x_by_x">Atualmente ouvindo %1$s em %2$s.</string>
|
||||
<string name="the_audio_file">O arquivo de áudio</string>
|
||||
<string name="action_share">Compartilhar</string>
|
||||
<string name="action_settings">"Configurações"</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue