From ba1dca18262abc4676950e4d4ced0c16d651812e Mon Sep 17 00:00:00 2001 From: len Date: Thu, 10 Mar 2016 16:05:26 +0100 Subject: [PATCH] Fix #206 --- .../data/library/LibraryUpdateService.kt | 8 ++++---- .../res/drawable-hdpi/ic_clear_grey_24dp_img.png | Bin 0 -> 281 bytes .../drawable-hdpi/ic_refresh_white_24dp_img.png | Bin 0 -> 476 bytes .../res/drawable-mdpi/ic_clear_grey_24dp_img.png | Bin 0 -> 211 bytes .../drawable-mdpi/ic_refresh_white_24dp_img.png | Bin 0 -> 323 bytes .../drawable-xhdpi/ic_clear_grey_24dp_img.png | Bin 0 -> 333 bytes .../drawable-xhdpi/ic_refresh_white_24dp_img.png | Bin 0 -> 632 bytes .../drawable-xxhdpi/ic_clear_grey_24dp_img.png | Bin 0 -> 462 bytes .../ic_refresh_white_24dp_img.png | Bin 0 -> 930 bytes .../drawable-xxxhdpi/ic_clear_grey_24dp_img.png | Bin 0 -> 602 bytes .../ic_refresh_white_24dp_img.png | Bin 0 -> 1264 bytes 11 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 app/src/main/res/drawable-hdpi/ic_clear_grey_24dp_img.png create mode 100644 app/src/main/res/drawable-hdpi/ic_refresh_white_24dp_img.png create mode 100644 app/src/main/res/drawable-mdpi/ic_clear_grey_24dp_img.png create mode 100644 app/src/main/res/drawable-mdpi/ic_refresh_white_24dp_img.png create mode 100644 app/src/main/res/drawable-xhdpi/ic_clear_grey_24dp_img.png create mode 100644 app/src/main/res/drawable-xhdpi/ic_refresh_white_24dp_img.png create mode 100644 app/src/main/res/drawable-xxhdpi/ic_clear_grey_24dp_img.png create mode 100644 app/src/main/res/drawable-xxhdpi/ic_refresh_white_24dp_img.png create mode 100644 app/src/main/res/drawable-xxxhdpi/ic_clear_grey_24dp_img.png create mode 100644 app/src/main/res/drawable-xxxhdpi/ic_refresh_white_24dp_img.png diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt index 725332636..f471f1b0f 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt @@ -269,7 +269,7 @@ class LibraryUpdateService : Service() { */ private fun showNotification(title: String, body: String) { val n = notification() { - setSmallIcon(R.drawable.ic_refresh_white_24dp) + setSmallIcon(R.drawable.ic_refresh_white_24dp_img) setContentTitle(title) setContentText(body) } @@ -284,11 +284,11 @@ class LibraryUpdateService : Service() { */ private fun showProgressNotification(manga: Manga, current: Int, total: Int, cancelIntent: PendingIntent) { val n = notification() { - setSmallIcon(R.drawable.ic_refresh_white_24dp) + setSmallIcon(R.drawable.ic_refresh_white_24dp_img) setContentTitle(manga.title) setProgress(total, current, false) setOngoing(true) - addAction(R.drawable.ic_clear_black_24dp, getString(R.string.action_cancel), cancelIntent) + addAction(R.drawable.ic_clear_grey_24dp_img, getString(R.string.action_cancel), cancelIntent) } notificationManager.notify(UPDATE_NOTIFICATION_ID, n) } @@ -303,7 +303,7 @@ class LibraryUpdateService : Service() { val body = getUpdatedMangasBody(updates, failed) val n = notification() { - setSmallIcon(R.drawable.ic_refresh_white_24dp) + setSmallIcon(R.drawable.ic_refresh_white_24dp_img) setContentTitle(title) setStyle(NotificationCompat.BigTextStyle().bigText(body)) setContentIntent(notificationIntent) diff --git a/app/src/main/res/drawable-hdpi/ic_clear_grey_24dp_img.png b/app/src/main/res/drawable-hdpi/ic_clear_grey_24dp_img.png new file mode 100644 index 0000000000000000000000000000000000000000..8b288271d07b4a04799baebc4bec6b0eff1fc458 GIT binary patch literal 281 zcmV+!0p|XRP)LFMBh!moOB6eI;DwdH^t41IigCf`Tw5 zA9YAHMFplr0T@%d>~l~Q2I)f~@f;PL94LI#dKF1=04dpFu?QJ2*J$S#fl5RK!l!ehnuVQ3t1@wIcW(L@0Et)=dO; zuxQU;@Eu;lQIlMh3<*3#bIqIQ^6%aRNsZA|qAf{2vfgw<&x<-oF zmGs+Ks4NA#1G5V47D0Q!$QcQR(lm($o7b4;aqwVM=u{e+yyhmT*&LyW?WVrsG^On( zYeE&)xUMNvRoH#nLQU2<){xm(JPx#lx~y^N!l$FhgmSJ44Z9%p$b=#ng!rOfv(VWF zi+64!w8sKmSP-Usy`6IOUxIZ|0wZ)*m8h~)of^&6pdjFSw?%K! z@lP@H^qg{SO`95d(#o3@PW1nt{yZbjEp=^Zz8mksbXM)7fhG)wBK|W~oAx9uKO*hf zmj5(bUGN3dd(W(j9k)E*zo>N7YB<6mAhRcHL?8w!xU(;w4PM6jRRkTd&gCtm$N~YMX$eH|9VgsC2s~hdHW-3A zcO=@eB-IiWD?b5SvP*G9*Oy%>1#W5Owjw{{H^-(FL>w3@f(IY+q7=j&=t+Y6lEf0|mpn1S<-r6#^|dXQCr;ctaD=(+KYHSRbIPd(nzd^$hxw;NsndV`o*0 zov1BaPE0s?#1dk$Kj%BqHlS6tnp)gRrYLp`)~Bz_wK(G?*mK1x`%9f1HNVXN3!ZgH V8leheE!Y46002ovPDHLkV1gvlhPMC! literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xhdpi/ic_clear_grey_24dp_img.png b/app/src/main/res/drawable-xhdpi/ic_clear_grey_24dp_img.png new file mode 100644 index 0000000000000000000000000000000000000000..dd1c49e09389c77c03918bd2bf9893b8d65ee2f4 GIT binary patch literal 333 zcmV-T0kZyyP)dpYz$VH_HpE$E& zJp)KYarmQep%lW^4qx&bbp;4m_|iUb1OW|?Xk;lwTO&NG6Sp5ADB+Q##2$hc9z6@C z5VY`&VJ`M-)55c+(G+5441ogt(qG7DJjC{DfW23xWg^(&nWH!akkh0PQ!Es4q{BKi z;*2jTD8iidC6zP9LIKFZtVJNs3J*i%TsDxpY7Eh{7F$z=#n#ALY}HsT_RQ6yw$lO# fAb~<5Qf)#y)koDMAj9I#E0-m40Ta4@J+mL1Hr&M5e)<*A3{-3L}Tw;6az)^fbnlA zLCPM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fQ6bkdj2`a3qf_@ zMPRRufSL$$yb#pPzpU-{8SKc5)^|bakk#rvXh?7?(FDHuET}U?PK||)=yhKORcSVXQwd)=VN1Ceg8DQ;w0bJX znxKs4*=o>&oF3m-u@22Xr`lsV)&!|i76S>(={E34lDMEs&ESom%dsM;MKSPbf^xbH zKGY^INVR(P7l9lrf`$|WXC-N$V@x5aUIgWsR0t{)K{;j=g3=;L1j#KXle8@J?gjNK z1YPmy#I7k~wDN8~s~G&1CvqrX{Z0|%b{m2!G~4)%9thg1h;15_+DdnfD1x}*fuK8z z*zVe_4?3YqnAJLzvrhAV?to1}%QOl5dk*KGVMR<6V6p8AvrC$}=#T?J?V5Pbx+uY0 z0lq5&qJ;i>i*h#cB>cZdJO3pv1f{rmN!7;rwX}_SXF?OlVcQ$Ud=`P{n&3Ww4GGGj z9Qa4g_z!q)a$4nD8&bUR6C6oEP8;{F`*8}cj5QVPt_bBX_rYodW3ADwR{5L4CRfj5 zDvm}hpt=b*$LODqxfS7upwIWZd{_;W6tx783dOI2eZ1mjc(0P?eO3d1Mi0SnBlbCK zQceljH1Ig(YJzgG2VCTWt5Mz&PxEV~Pv9lz zaOmpW4VD*6PFns@Cx{>sB!Wbc2ogaeNCXKYK?D`XUpPeP7j*L)Z~y=R07*qoM6N<$ Eg6}e|H2?qr literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xxxhdpi/ic_clear_grey_24dp_img.png b/app/src/main/res/drawable-xxxhdpi/ic_clear_grey_24dp_img.png new file mode 100644 index 0000000000000000000000000000000000000000..d0b5379447db38a9f753fb81e181c4c2e02c29c0 GIT binary patch literal 602 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeD1|%QND7Ro>U{dsSaSW-r_4dxe!b1ikEs0VJ zn(Vs`zNblXXsQ=7E1W;T!`|jHL;bDS|HStn>jZLMM()m>RkkEfgOP!OgMmSSfkA3xLg@K{N@<942!>0)$XJ!~Je{+}d+Nb@&=QQorII@49{+j>K>t_M$ z4*mZ*O$G7)beDUyOnSOn*+$D=W?{+CRUGF}@w;~HnDJO%yy*0LjzjgQ_CI~WP_Sd# z>xK!zbtkr)y*eZ#uxh$|t@x52g}}Pb=M1haGe3FTa%wAjOpPzn)euj7vGC8O?m}l* zmXn{d*R)-8n4r7=T2YB7%gayM@7Sj}Owix|t<6X8(2b~{T-Hg+3{Ad2wW24zciEs7 zpXvWYmZR+H>fBTLjvI913$-4JvfTa@dOWCzD|XK5@Oj*)95?93*BZQz<+wCi!q3?1 z?9}&0vwmnb9aWfddBuZEQ9l_N4(wN`Yhip~Hig}g!E9~Tt{%r*I>(-_dn+?X@XqOS z8IEapC*0h%Dzo!~*UxPnx>NHzFGT(H+PvZtgX%UxcJ`KQ@!XT#Up(BZkl7M<@8l%c z7cb|oIT0C>$*^?i+(6!itHmFQ2v%vw^DR97X{kV!ZakafqeW?(V^_`LKl6rRgWSua zS+}g$rP literal 0 HcmV?d00001 diff --git a/app/src/main/res/drawable-xxxhdpi/ic_refresh_white_24dp_img.png b/app/src/main/res/drawable-xxxhdpi/ic_refresh_white_24dp_img.png new file mode 100644 index 0000000000000000000000000000000000000000..4a4c70f687a8ddccd7dfe23c833a58a431065636 GIT binary patch literal 1264 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeD1|%QND7Ro>VA<~J;uunK>+KwGk12s74OdTH zNL%BhrJ=OxxK=lh@{-WhEgXxlpVG*VYKUV**c>VK3+b2Gp|9O7?p7+&{TLcPw$_s=d7`PK~ z;sf?+46_@&9!Oo_+Qa^l9V{iTA8WrJ$mo3{t>~ckGL6Oa zM@w?!8I5DYHyw08*fzbdU-r}T5>tx*^Hqn%-yevtx@2(7kWqupZg)WHM6rT12fM#K z7IE6t{n3ZXkFnmZso^YN+#=Z%9f|D;tlPA&am{#~kW$V1q4I+4Jgz(20~^+Sf1k-# z&t(7pYD2&_W8ZC@H`Yo1@Kl=IAZo@rVQ+8V*(~)&hfmDgLLC{;vRzO2{N%~$aqy=| zXt?p=MNcLR1uPKEVQqXe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