mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Fix button names in download notification
This commit is contained in:
parent
2f207ac361
commit
4923fd24f0
@ -278,7 +278,7 @@ public class DownloadService extends Service {
|
||||
public void pauseDownload(int notificationID) {
|
||||
Log.i(KIWIX_TAG, "Pausing ZIM Download for notificationID: " + notificationID);
|
||||
downloadStatus.put(notificationID, PAUSE);
|
||||
notification.get(notificationID).mActions.get(0).title = getString(R.string.download_play);
|
||||
notification.get(notificationID).mActions.get(0).title = getString(R.string.download_resume);
|
||||
notification.get(notificationID).mActions.get(0).icon = R.drawable.ic_play_arrow_black_24dp;
|
||||
notification.get(notificationID).setContentText(getString(R.string.download_paused));
|
||||
notificationManager.notify(notificationID, notification.get(notificationID).build());
|
||||
|
@ -93,9 +93,9 @@
|
||||
<string name="zim_file_downloading">Downloading</string>
|
||||
<string name="zim_file_downloaded">Downloaded</string>
|
||||
<string name="download_pause">Pause</string>
|
||||
<string name="download_play">Play</string>
|
||||
<string name="download_stop">Stop</string>
|
||||
<string name="download_paused">paused</string>
|
||||
<string name="download_resume">Resume</string>
|
||||
<string name="no_downloads_here">No downloads here</string>
|
||||
<string name="no_files_here">No files here</string>
|
||||
<string name="download_complete_snackbar">Download complete</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user