Commit 31f26f5a authored by Alexandre Perraud's avatar Alexandre Perraud Committed by Geoffrey Métais

Add Channel TV main icon

Signed-off-by: default avatarGeoffrey Métais <geoffrey.metais@gmail.com>
parent b268d998
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="160"
height="160"
viewBox="0 0 160 160"
id="svg4826"
version="1.1"
inkscape:version="0.92.3 (unknown)"
sodipodi:docname="ic_channel_icon.svg">
<defs
id="defs4828">
<linearGradient
inkscape:collect="always"
id="linearGradient940">
<stop
style="stop-color:#0ca4ba;stop-opacity:1;"
offset="0"
id="stop936" />
<stop
style="stop-color:#0ca4ba;stop-opacity:0;"
offset="1"
id="stop938" />
</linearGradient>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath4813">
<path
id="path4815"
d="m 256,24 c -10,0 -16.56131,4.44436 -22,10 -7.51989,7.68159 -14,30 -14,30 l -84,252 h -34 c -10.63636,0 -20.71454,9.30699 -24,20 L 43,456 c -4.67669,16.03434 -3,31.99999 19,32 h 194 194 c 22,-10e-6 23.67669,-15.96566 19,-32 L 434,336 c -3.28546,-10.69301 -13.36364,-20 -24,-20 H 376 L 292,64 c 0,0 -6.48011,-22.31841 -14,-30 -5.43869,-5.55564 -12,-10 -22,-10 z"
style="fill:#ff8800"
inkscape:connector-curvature="0" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath4792">
<path
style="fill:#ff8800"
d="m 48.196759,963.10825 c -1.65441,1.23855 -2.321076,3.2256 -3.761719,7.51954 -1.440643,4.29394 -1.503906,4.51171 -1.503906,4.51171 l -5.265625,15.79688 -6.015625,18.05082 -3.007812,9.0234 h -6.34375 c -2,0 -3.860873,1.5107 -4.445313,3.5039 l -3.503906,11.9199 c -1.144783,3.9115 -2.279638,7.7947 -3.429687,11.7266 -0.481394,1.6434 0.0011,2.852 0.777343,3.6875 0.481014,0.5172 1.074588,0.8913 1.621094,1.1406 0.54688,0.2429 0.920775,0.3731 1.351562,0.3731 1.004345,0 18.539258,-0.01 36.572266,-0.01 v 0 c 18.033008,0 35.567921,0.01 36.572266,0.01 0.430787,0 0.804682,-0.1302 1.351562,-0.3731 0.546506,-0.2493 1.14008,-0.6234 1.621094,-1.1406 0.776228,-0.8355 1.258738,-2.0441 0.777344,-3.6875 -1.150049,-3.9319 -2.284905,-7.8151 -3.429688,-11.7266 l -3.503906,-11.9199 c -0.58444,-1.9932 -2.445313,-3.5039 -4.445313,-3.5039 h -6.34375 l -3.007812,-9.0234 -6.015625,-18.05082 -5.265625,-15.79688 c 0,0 -0.06885,-0.23443 -1.503906,-4.51171 -1.435052,-4.27728 -2.097358,-6.25133 -3.761719,-7.51954 -0.831195,-0.63336 -1.999923,-0.74609 -3.044922,-0.74609 -1.044999,0 -2.208378,0.11982 -3.044922,0.74609 z"
id="path4794"
inkscape:connector-curvature="0"
sodipodi:nodetypes="szccccscccccsccscccccscccczsas" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath4239">
<path
style="fill:#ff8800"
d="m 255.99296,24.00989 c -10.00001,0 -16.55847,4.434001 -21.99716,9.989346 -7.51989,7.682363 -14.00568,30.009232 -14.00568,30.009232 l -83.9929,251.999282 h -34.00496 c -1.52373,0 -3.007576,0.23857 -4.490067,0.5973 a 231.99999,231.99999 0 0 0 207.860797,129.223 231.99999,231.99999 0 0 0 145.63848,-51.53267 l -16.99218,-58.28834 c -3.28546,-10.69309 -13.37927,-19.99929 -24.01563,-19.99929 H 376.00929 L 291.9958,64.008468 c 0,0 -6.48579,-22.326869 -14.00568,-30.009232 -5.43869,-5.555345 -11.99716,-9.989346 -21.99716,-9.989346 z"
id="path4241"
inkscape:connector-curvature="0" />
</clipPath>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient940"
id="linearGradient942"
x1="40"
y1="40"
x2="68"
y2="68"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2,0,0,2,0,892.3622)" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8284271"
inkscape:cx="-33.639772"
inkscape:cy="44.14295"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1025"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
showguides="false"
inkscape:snap-global="true"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:snap-bbox-midpoints="true"
inkscape:object-paths="true"
inkscape:snap-smooth-nodes="true"
inkscape:snap-midpoints="true"
inkscape:object-nodes="true"
inkscape:snap-intersection-paths="true"
inkscape:snap-others="true"
inkscape:snap-object-midpoints="true"
inkscape:snap-text-baseline="true"
inkscape:snap-center="true"
inkscape:snap-grids="true"
inkscape:snap-page="true">
<inkscape:grid
type="xygrid"
id="grid4142" />
</sodipodi:namedview>
<metadata
id="metadata4831">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-892.3622)">
<circle
style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;vector-effect:none;fill:#17bdd5;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:8;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:47.29829788;stroke-opacity:1;marker:none;enable-background:accumulate"
id="path845"
cx="80"
cy="972.36218"
r="80" />
<path
style="fill:url(#linearGradient942);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 86,916.3622 -53.15625,98.7969 32.863282,35.8515 A 80,80 0 0 0 80,1052.3622 80,80 0 0 0 158.57031,987.16298 Z"
id="path847"
inkscape:connector-curvature="0" />
<g
transform="matrix(0.22413794,0,0,0.22413794,22.620688,906.98288)"
id="g4807"
clip-path="url(#clipPath4813)"
inkscape:export-filename="/mnt/temp/pixel_2.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<path
id="path4795"
d="m 256,24 c -10,0 -16.56131,4.444363 -22,10 -7.51989,7.681589 -14,30 -14,30 l -84,252 h -34 c -10.63636,0 -20.71454,9.30699 -24,20 L 43,456 c -4.67669,16.03434 -3,31.99999 19,32 h 194 194 c 22,-10e-6 23.67669,-15.96566 19,-32 L 434,336 c -3.28546,-10.69301 -13.36364,-20 -24,-20 H 376 L 292,64 c 0,0 -6.48011,-22.318411 -14,-30 -5.43869,-5.555637 -12,-10 -22,-10 z"
style="fill:#ff8800"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path4790"
d="m 376,316 c 0,0 5.33596,15.99774 8,24 3.86569,11.61172 5.72158,17.44905 -0.0566,24.10156 C 352.00038,395.99957 301.0881,408.013 256,408 210.88287,407.987 160.2209,395.52936 128,364 L 244,480 H 43.53125 c 2.987307,4.87249 8.73663,8 18.46875,8 h 194 194 c 22,-10e-6 23.67669,-15.96566 19,-32 L 434,336 c -3.28546,-10.69301 -13.36364,-20 -24,-20 z"
style="fill:#f46e00;fill-opacity:1" />
<path
id="path3151-2-6-0"
sodipodi:nodetypes="cacccccssacsccacc"
inkscape:connector-curvature="0"
d="m 184,172 c 24,18 46.36799,27 72,27 25.63201,0 48,-9 72,-27 48,0 32,-108 -28,-84 -33.16814,17.49548 -55.99922,15.99974 -88,0 -60,-24 -76,84 -28,84 z m -48,144 c 0,0 -5.33263,16.0004 -8,24 -4.00162,12.00101 -6.03383,18.09576 0,24 32.2209,31.52936 82.88287,43.98701 128,44 45.0881,0.013 96,-12 127.94294,-43.89801 C 389.7212,357.44948 387.86569,351.61172 384,340 c -2.66404,-8.00226 -8,-24 -8,-24 28,0 0,-68 -16,-48 -32,32 -66.85763,40 -104,40 -37.14237,0 -72,-8 -104,-40 -16,-16 -44,48 -16,48 z"
style="fill:#fafafa" />
<path
sodipodi:nodetypes="sssss"
inkscape:connector-curvature="0"
id="path4246"
d="m 152,312 c -16.66494,51.58194 52.97315,57.34558 59.63772,19.87924 L 260,60 c 4.46875,-25.122067 -15.31793,-34.873087 -24,-8 z"
style="opacity:0.6;fill:#ffffff;fill-opacity:0.31372549;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
</svg>
......@@ -47,7 +47,7 @@ fun setChannel(context: Context) = GlobalScope.launch(start = CoroutineStart.UND
val channelId = withContext(Dispatchers.IO) {
val prefs = Settings.getInstance(context)
val name = context.getString(R.string.tv_my_new_videos)
createOrUpdateChannel(prefs, context, name, R.drawable.icon, BuildConfig.APPLICATION_ID)
createOrUpdateChannel(prefs, context, name, R.drawable.ic_channel_icon, BuildConfig.APPLICATION_ID)
}
if (Permissions.canReadStorage(context)) updatePrograms(context, channelId)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment