mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-19 14:43:56 +00:00
fix: change download icon
This commit is contained in:
@@ -85,7 +85,7 @@ class AnimeDownloaderService : Service() {
|
||||
builder =
|
||||
NotificationCompat.Builder(this, Notifications.CHANNEL_DOWNLOADER_PROGRESS).apply {
|
||||
setContentTitle("Anime Download Progress")
|
||||
setSmallIcon(R.drawable.ic_round_download_24)
|
||||
setSmallIcon(R.drawable.ic_download_24)
|
||||
priority = NotificationCompat.PRIORITY_DEFAULT
|
||||
setOnlyAlertOnce(true)
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ class MangaDownloaderService : Service() {
|
||||
notificationManager = NotificationManagerCompat.from(this)
|
||||
builder = NotificationCompat.Builder(this, CHANNEL_DOWNLOADER_PROGRESS).apply {
|
||||
setContentTitle("Manga Download Progress")
|
||||
setSmallIcon(R.drawable.ic_round_download_24)
|
||||
setSmallIcon(R.drawable.ic_download_24)
|
||||
priority = NotificationCompat.PRIORITY_DEFAULT
|
||||
setOnlyAlertOnce(true)
|
||||
setProgress(0, 0, false)
|
||||
|
||||
@@ -75,7 +75,7 @@ class NovelDownloaderService : Service() {
|
||||
builder =
|
||||
NotificationCompat.Builder(this, Notifications.CHANNEL_DOWNLOADER_PROGRESS).apply {
|
||||
setContentTitle("Novel Download Progress")
|
||||
setSmallIcon(R.drawable.ic_round_download_24)
|
||||
setSmallIcon(R.drawable.ic_download_24)
|
||||
priority = NotificationCompat.PRIORITY_DEFAULT
|
||||
setOnlyAlertOnce(true)
|
||||
setProgress(0, 0, false)
|
||||
|
||||
@@ -390,7 +390,7 @@ class EpisodeAdapter(
|
||||
binding.itemEpisodeDesc.visibility =
|
||||
if (desc != null && desc.trim(' ') != "") View.VISIBLE else View.GONE
|
||||
// Show download icon
|
||||
binding.itemDownload.setImageResource(R.drawable.ic_circle_add)
|
||||
binding.itemDownload.setImageResource(R.drawable.ic_download_24)
|
||||
binding.itemDownload.rotation = 0f
|
||||
}
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ class MangaChapterAdapter(
|
||||
}, 1000)
|
||||
} else {
|
||||
// Show download icon
|
||||
binding.itemDownload.setImageResource(R.drawable.ic_circle_add)
|
||||
binding.itemDownload.setImageResource(R.drawable.ic_download_24)
|
||||
binding.itemDownload.rotation = 0f
|
||||
}
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ class AnimeExtensionsFragment : Fragment(),
|
||||
context,
|
||||
Notifications.CHANNEL_DOWNLOADER_PROGRESS
|
||||
)
|
||||
.setSmallIcon(R.drawable.ic_round_download_24)
|
||||
.setSmallIcon(R.drawable.ic_download_24)
|
||||
.setContentTitle("Installation complete")
|
||||
.setContentText("The extension has been successfully installed.")
|
||||
.setPriority(NotificationCompat.PRIORITY_LOW)
|
||||
|
||||
@@ -31,7 +31,7 @@ class FAQActivity : AppCompatActivity() {
|
||||
currContext()?.getString(R.string.answer_17) ?: ""
|
||||
),
|
||||
Triple(
|
||||
R.drawable.ic_round_download_24,
|
||||
R.drawable.ic_download_24,
|
||||
currContext()?.getString(R.string.question_3) ?: "",
|
||||
currContext()?.getString(R.string.answer_3) ?: ""
|
||||
),
|
||||
|
||||
@@ -115,7 +115,7 @@ class MangaExtensionsFragment : Fragment(),
|
||||
context,
|
||||
Notifications.CHANNEL_DOWNLOADER_PROGRESS
|
||||
)
|
||||
.setSmallIcon(R.drawable.ic_round_download_24)
|
||||
.setSmallIcon(R.drawable.ic_download_24)
|
||||
.setContentTitle("Installation complete")
|
||||
.setContentText("The extension has been successfully installed.")
|
||||
.setPriority(NotificationCompat.PRIORITY_LOW)
|
||||
|
||||
@@ -116,7 +116,7 @@ class NovelExtensionsFragment : Fragment(),
|
||||
context,
|
||||
Notifications.CHANNEL_DOWNLOADER_PROGRESS
|
||||
)
|
||||
.setSmallIcon(R.drawable.ic_round_download_24)
|
||||
.setSmallIcon(R.drawable.ic_download_24)
|
||||
.setContentTitle("Installation complete")
|
||||
.setContentText("The extension has been successfully installed.")
|
||||
.setPriority(NotificationCompat.PRIORITY_LOW)
|
||||
|
||||
Reference in New Issue
Block a user