diff --git a/app/src/main/java/emu/skyline/AppUpdater.kt b/app/src/main/java/emu/skyline/AppUpdater.kt index e9a97221..c82ceb8a 100644 --- a/app/src/main/java/emu/skyline/AppUpdater.kt +++ b/app/src/main/java/emu/skyline/AppUpdater.kt @@ -40,7 +40,7 @@ class AppUpdater : BroadcastReceiver() { val id = intent.getLongExtra(DownloadManager.EXTRA_DOWNLOAD_ID, -1) //Checking if the received broadcast is for our enqueued download by matching download id if (downloadID == id) { - Toast.makeText(context, "Download Completed", Toast.LENGTH_SHORT).show() + Toast.makeText(context, context.getString(R.string.download_completed), Toast.LENGTH_SHORT).show() val intentInstall = Intent(Intent.ACTION_INSTALL_PACKAGE) intentInstall.data = (context.getSystemService(AppCompatActivity.DOWNLOAD_SERVICE) as DownloadManager).getUriForDownloadedFile(downloadID) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index efc23d66..9657d8d7 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -16,6 +16,7 @@ New version Changelog Update + Download completed No updates available Close