Bright green
|
@ -1,11 +1,7 @@
|
||||||
package io.heckel.ntfy.ui
|
package io.heckel.ntfy.ui
|
||||||
|
|
||||||
import android.app.NotificationChannel
|
|
||||||
import android.app.NotificationManager
|
|
||||||
import android.content.Context
|
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import android.net.Uri
|
import android.net.Uri
|
||||||
import android.os.Build
|
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.util.Log
|
import android.util.Log
|
||||||
import android.view.Menu
|
import android.view.Menu
|
||||||
|
@ -13,36 +9,19 @@ import android.view.MenuItem
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import androidx.activity.viewModels
|
import androidx.activity.viewModels
|
||||||
import androidx.appcompat.app.AppCompatActivity
|
import androidx.appcompat.app.AppCompatActivity
|
||||||
import androidx.core.app.NotificationCompat
|
|
||||||
import androidx.core.app.NotificationManagerCompat
|
|
||||||
import androidx.recyclerview.widget.RecyclerView
|
import androidx.recyclerview.widget.RecyclerView
|
||||||
import com.google.android.gms.tasks.OnCompleteListener
|
import com.google.android.gms.tasks.OnCompleteListener
|
||||||
import io.heckel.ntfy.R
|
|
||||||
import kotlin.random.Random
|
|
||||||
import com.google.firebase.messaging.FirebaseMessaging
|
import com.google.firebase.messaging.FirebaseMessaging
|
||||||
|
import io.heckel.ntfy.R
|
||||||
import io.heckel.ntfy.app.Application
|
import io.heckel.ntfy.app.Application
|
||||||
import io.heckel.ntfy.data.*
|
import io.heckel.ntfy.data.Subscription
|
||||||
|
import kotlin.random.Random
|
||||||
|
|
||||||
class MainActivity : AppCompatActivity(), AddFragment.AddSubscriptionListener {
|
class MainActivity : AppCompatActivity(), AddFragment.AddSubscriptionListener {
|
||||||
private val subscriptionsViewModel by viewModels<SubscriptionsViewModel> {
|
private val subscriptionsViewModel by viewModels<SubscriptionsViewModel> {
|
||||||
SubscriptionsViewModelFactory((application as Application).repository)
|
SubscriptionsViewModelFactory((application as Application).repository)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun doStuff() {
|
|
||||||
FirebaseMessaging.getInstance().token.addOnCompleteListener(OnCompleteListener { task ->
|
|
||||||
if (!task.isSuccessful) {
|
|
||||||
Log.w(TAG, "Fetching FCM registration token failed", task.exception)
|
|
||||||
return@OnCompleteListener
|
|
||||||
}
|
|
||||||
|
|
||||||
// Get new FCM registration token
|
|
||||||
val token = task.result
|
|
||||||
|
|
||||||
// Log and toast
|
|
||||||
Log.d(TAG, "message token: $token")
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
setContentView(R.layout.main_activity)
|
setContentView(R.layout.main_activity)
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
android:viewportWidth="24.0"
|
android:viewportWidth="24.0"
|
||||||
android:viewportHeight="24.0">
|
android:viewportHeight="24.0">
|
||||||
<path
|
<path
|
||||||
android:fillColor="#FFFFFFFF"
|
android:fillColor="#000000"
|
||||||
android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
|
android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
|
||||||
</vector>
|
</vector>
|
|
@ -29,7 +29,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="16dp"
|
android:layout_margin="16dp"
|
||||||
android:contentDescription="@string/main_add_button_description"
|
android:contentDescription="@string/main_add_button_description"
|
||||||
android:src="@drawable/ic_add_white_24dp"
|
android:src="@drawable/ic_add_black_24dp"
|
||||||
|
app:tint="@color/primaryLightTextColor"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent" app:backgroundTint="@color/primaryColor"/>
|
app:layout_constraintEnd_toEndOf="parent" app:backgroundTint="@color/primaryColor"/>
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
<!--?xml version="1.0" encoding="UTF-8"?-->
|
<!--?xml version="1.0" encoding="UTF-8"?-->
|
||||||
<resources>
|
<resources>
|
||||||
<color name="primaryColor">#4ecb26</color>
|
<color name="primaryColor">#44b220</color>
|
||||||
<color name="primaryLightColor">#87ff5c</color>
|
<color name="primaryLightColor">#44b220</color>
|
||||||
<color name="primaryDarkColor">#009900</color>
|
<color name="primaryDarkColor">#44b220</color>
|
||||||
|
|
||||||
<color name="primaryTextColor">#000000</color>
|
<color name="primaryTextColor">#000000</color>
|
||||||
|
<color name="primaryLightTextColor">#FFFFFF</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
version="1.1"
|
version="1.1"
|
||||||
id="svg8"
|
id="svg8"
|
||||||
inkscape:version="1.1.1 (3bf5ae0, 2021-09-20)"
|
inkscape:version="1.1.1 (3bf5ae0, 2021-09-20)"
|
||||||
sodipodi:docname="launcher.svg"
|
sodipodi:docname="launcher_20.svg"
|
||||||
inkscape:export-filename="/home/pheckel/Code/ntfy-android/assets/launcher_round.png"
|
inkscape:export-filename="/home/pheckel/Code/ntfy-android/assets/launcher_20_fg.png"
|
||||||
inkscape:export-xdpi="258.69"
|
inkscape:export-xdpi="258.69"
|
||||||
inkscape:export-ydpi="258.69"
|
inkscape:export-ydpi="258.69"
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
@ -22,6 +22,30 @@
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||||
<defs
|
<defs
|
||||||
id="defs2">
|
id="defs2">
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
id="linearGradient13319">
|
||||||
|
<stop
|
||||||
|
style="stop-color:#d3d3d3;stop-opacity:1"
|
||||||
|
offset="0"
|
||||||
|
id="stop13315" />
|
||||||
|
<stop
|
||||||
|
style="stop-color:#feffff;stop-opacity:1"
|
||||||
|
offset="1"
|
||||||
|
id="stop13317" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
id="linearGradient873">
|
||||||
|
<stop
|
||||||
|
style="stop-color:#4d4d4d;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop869" />
|
||||||
|
<stop
|
||||||
|
style="stop-color:#656565;stop-opacity:0"
|
||||||
|
offset="1"
|
||||||
|
id="stop871" />
|
||||||
|
</linearGradient>
|
||||||
<linearGradient
|
<linearGradient
|
||||||
inkscape:collect="always"
|
inkscape:collect="always"
|
||||||
id="linearGradient843">
|
id="linearGradient843">
|
||||||
|
@ -30,13 +54,33 @@
|
||||||
offset="0"
|
offset="0"
|
||||||
id="stop839" />
|
id="stop839" />
|
||||||
<stop
|
<stop
|
||||||
style="stop-color:#434343;stop-opacity:1"
|
style="stop-color:#434343;stop-opacity:0.88235295"
|
||||||
offset="1"
|
offset="1"
|
||||||
id="stop841" />
|
id="stop841" />
|
||||||
</linearGradient>
|
</linearGradient>
|
||||||
<linearGradient
|
<linearGradient
|
||||||
inkscape:collect="always"
|
inkscape:collect="always"
|
||||||
xlink:href="#linearGradient843"
|
xlink:href="#linearGradient843"
|
||||||
|
id="linearGradient845"
|
||||||
|
x1="59.671928"
|
||||||
|
y1="101.946"
|
||||||
|
x2="87.224854"
|
||||||
|
y2="122.54991"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="matrix(1.302925,0,0,1.302925,-21.025152,-36.28416)" />
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient873"
|
||||||
|
id="linearGradient875"
|
||||||
|
x1="59.671928"
|
||||||
|
y1="101.946"
|
||||||
|
x2="87.091209"
|
||||||
|
y2="105.0985"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="matrix(1.3104386,0,0,1.302925,-21.473506,-36.28416)" />
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient13319"
|
||||||
id="linearGradient13321"
|
id="linearGradient13321"
|
||||||
x1="51.147327"
|
x1="51.147327"
|
||||||
y1="81.515579"
|
y1="81.515579"
|
||||||
|
@ -51,11 +95,11 @@
|
||||||
borderopacity="1.0"
|
borderopacity="1.0"
|
||||||
inkscape:pageopacity="0.0"
|
inkscape:pageopacity="0.0"
|
||||||
inkscape:pageshadow="2"
|
inkscape:pageshadow="2"
|
||||||
inkscape:zoom="2.2982835"
|
inkscape:zoom="2.1948958"
|
||||||
inkscape:cx="8.484593"
|
inkscape:cx="115.49523"
|
||||||
inkscape:cy="63.960778"
|
inkscape:cy="148.52641"
|
||||||
inkscape:document-units="mm"
|
inkscape:document-units="mm"
|
||||||
inkscape:current-layer="layer1"
|
inkscape:current-layer="layer2"
|
||||||
showgrid="false"
|
showgrid="false"
|
||||||
inkscape:measure-start="0,0"
|
inkscape:measure-start="0,0"
|
||||||
inkscape:measure-end="0,0"
|
inkscape:measure-end="0,0"
|
||||||
|
@ -100,11 +144,18 @@
|
||||||
id="layer1"
|
id="layer1"
|
||||||
transform="translate(-51.147327,-81.515579)"
|
transform="translate(-51.147327,-81.515579)"
|
||||||
style="display:inline">
|
style="display:inline">
|
||||||
|
<rect
|
||||||
|
style="fill:url(#linearGradient845);fill-opacity:1;stroke:none;stroke-width:0.16339;stroke-opacity:1"
|
||||||
|
id="rect283-1"
|
||||||
|
width="35.899391"
|
||||||
|
height="26.845356"
|
||||||
|
x="56.722897"
|
||||||
|
y="96.543839" />
|
||||||
<g
|
<g
|
||||||
aria-label=">_"
|
aria-label=">_"
|
||||||
style="font-style:normal;font-weight:normal;font-size:8.48274px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.212069"
|
style="font-style:normal;font-weight:normal;font-size:8.48274px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.212069"
|
||||||
id="text320"
|
id="text320"
|
||||||
transform="matrix(1.9832225,0,0,1.9832225,-66.414375,-115.86681)">
|
transform="matrix(1.302925,0,0,1.302925,-20.839797,-37.163349)">
|
||||||
<path
|
<path
|
||||||
d="m 62.57046,116.77004 v -1.31201 l 3.280018,-1.45904 q 0.158346,-0.0679 0.305381,-0.1018 0.158346,-0.0452 0.282761,-0.0679 0.135725,-0.0113 0.271449,-0.0226 v -0.0905 q -0.135724,-0.0113 -0.271449,-0.0452 -0.124415,-0.0226 -0.282761,-0.0566 -0.147035,-0.0452 -0.305381,-0.1131 l -3.280018,-1.45904 v -1.32332 l 5.067063,2.31863 v 1.4138 z"
|
d="m 62.57046,116.77004 v -1.31201 l 3.280018,-1.45904 q 0.158346,-0.0679 0.305381,-0.1018 0.158346,-0.0452 0.282761,-0.0679 0.135725,-0.0113 0.271449,-0.0226 v -0.0905 q -0.135724,-0.0113 -0.271449,-0.0452 -0.124415,-0.0226 -0.282761,-0.0566 -0.147035,-0.0452 -0.305381,-0.1131 l -3.280018,-1.45904 v -1.32332 l 5.067063,2.31863 v 1.4138 z"
|
||||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:11.3104px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;stroke-width:0.212069"
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:11.3104px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;stroke-width:0.212069"
|
||||||
|
@ -116,22 +167,26 @@
|
||||||
id="path1013"
|
id="path1013"
|
||||||
inkscape:connector-curvature="0" />
|
inkscape:connector-curvature="0" />
|
||||||
</g>
|
</g>
|
||||||
|
<rect
|
||||||
|
style="fill:url(#linearGradient875);fill-opacity:1;stroke-width:0.0815418"
|
||||||
|
id="rect283-1-9"
|
||||||
|
width="36.106411"
|
||||||
|
height="6.6478906"
|
||||||
|
x="56.722897"
|
||||||
|
y="96.543839" />
|
||||||
<path
|
<path
|
||||||
style="fill:#59bfaa;fill-opacity:1;stroke-width:1.04501"
|
style="fill:#4ecb26;fill-opacity:1;stroke-width:1.203"
|
||||||
inkscape:connector-curvature="0"
|
inkscape:connector-curvature="0"
|
||||||
d="M 91.894724,91.209179 H 74.511981 c -1.195076,0 -2.172856,0.904643 -2.172856,2.010308 v 12.789833 l -0.922814,3.94747 5.26851,-3.19426 h 15.209903 c 1.195083,0 2.172841,-0.90465 2.172841,-2.01035 V 93.219487 c 0,-1.105665 -0.977758,-2.010308 -2.172841,-2.010308 z m -11.950639,9.046411 h -2.172837 v -2.010304 h 2.172837 z m 4.345697,0 h -2.172859 v -2.010304 h 2.172859 z m 4.34567,0 H 86.46262 v -2.010304 h 2.172832 z"
|
d="M 93.687597,89.445767 H 73.874439 c -1.36217,0 -2.476659,1.051813 -2.476659,2.337352 v 21.036241 l 4.9533,-4.67471 h 17.336517 c 1.362173,0 2.476651,-1.05183 2.476651,-2.3374 V 91.783119 c 0,-1.285539 -1.114478,-2.337352 -2.476651,-2.337352 z M 80.066048,99.963882 H 77.58941 v -2.337346 h 2.476638 z m 4.953301,0 h -2.476662 v -2.337346 h 2.476662 z m 4.953276,0 H 87.49599 v -2.337346 h 2.476635 z"
|
||||||
id="path403"
|
id="path403" />
|
||||||
sodipodi:nodetypes="ssscccssssccccccccccccccc" />
|
|
||||||
</g>
|
</g>
|
||||||
<g
|
<g
|
||||||
inkscape:groupmode="layer"
|
inkscape:groupmode="layer"
|
||||||
id="g18852"
|
id="layer3"
|
||||||
inkscape:label="round icon preview"
|
inkscape:label="round icon preview">
|
||||||
style="display:inline">
|
|
||||||
<path
|
<path
|
||||||
id="path18850"
|
id="path18850"
|
||||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:0.999999"
|
style="display:inline;fill:#ffffff;fill-opacity:1;stroke-width:0.264583"
|
||||||
d="M 0,0 V 190 H 84.177734 A 95.321232,95.321232 0 0 1 0.03320312,95.402344 95.321232,95.321232 0 0 1 95.353516,0.08007812 95.321232,95.321232 0 0 1 190,84.138672 V 0 Z M 190,106.1543 A 95.321232,95.321232 0 0 1 106.53125,190 H 190 Z"
|
d="M 1e-6,-3e-6 V 50.27083 H 22.272026 A 25.220409,25.220409 0 0 1 0.008786,25.241867 25.220409,25.220409 0 0 1 25.228952,0.021184 25.220409,25.220409 0 0 1 50.270834,22.261687 V -3e-6 Z M 50.270834,28.086655 A 25.220409,25.220409 0 0 1 28.186394,50.27083 h 22.08444 z" />
|
||||||
transform="scale(0.26458333)" />
|
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
137
assets/old/launcher.svg
Normal file
|
@ -0,0 +1,137 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="50.270832mm"
|
||||||
|
height="50.270832mm"
|
||||||
|
viewBox="0 0 50.270832 50.270832"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
inkscape:version="1.1.1 (3bf5ae0, 2021-09-20)"
|
||||||
|
sodipodi:docname="launcher.svg"
|
||||||
|
inkscape:export-filename="/home/pheckel/Code/ntfy-android/assets/launcher_round.png"
|
||||||
|
inkscape:export-xdpi="258.69"
|
||||||
|
inkscape:export-ydpi="258.69"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||||
|
<defs
|
||||||
|
id="defs2">
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
id="linearGradient843">
|
||||||
|
<stop
|
||||||
|
style="stop-color:#000000;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop839" />
|
||||||
|
<stop
|
||||||
|
style="stop-color:#434343;stop-opacity:1"
|
||||||
|
offset="1"
|
||||||
|
id="stop841" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient843"
|
||||||
|
id="linearGradient13321"
|
||||||
|
x1="51.147327"
|
||||||
|
y1="81.515579"
|
||||||
|
x2="101.41816"
|
||||||
|
y2="131.78641"
|
||||||
|
gradientUnits="userSpaceOnUse" />
|
||||||
|
</defs>
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="2.2982835"
|
||||||
|
inkscape:cx="8.484593"
|
||||||
|
inkscape:cy="63.960778"
|
||||||
|
inkscape:document-units="mm"
|
||||||
|
inkscape:current-layer="g18852"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:measure-start="0,0"
|
||||||
|
inkscape:measure-end="0,0"
|
||||||
|
inkscape:snap-text-baseline="true"
|
||||||
|
inkscape:window-width="1863"
|
||||||
|
inkscape:window-height="1025"
|
||||||
|
inkscape:window-x="57"
|
||||||
|
inkscape:window-y="27"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
fit-margin-top="0"
|
||||||
|
fit-margin-left="0"
|
||||||
|
fit-margin-right="0"
|
||||||
|
fit-margin-bottom="0"
|
||||||
|
showguides="true"
|
||||||
|
inkscape:guide-bbox="true"
|
||||||
|
inkscape:pagecheckerboard="0" />
|
||||||
|
<metadata
|
||||||
|
id="metadata5">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer2"
|
||||||
|
inkscape:label="background"
|
||||||
|
style="display:inline">
|
||||||
|
<path
|
||||||
|
style="opacity:1;fill:url(#linearGradient13321);fill-opacity:1;stroke-width:0.264583"
|
||||||
|
d="M 51.147327,81.515579 H 101.41816 V 131.78641 H 51.147327 Z"
|
||||||
|
id="rect283"
|
||||||
|
transform="translate(-51.147326,-81.51558)" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:label="foreground"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(-51.147327,-81.515579)"
|
||||||
|
style="display:inline">
|
||||||
|
<g
|
||||||
|
aria-label=">_"
|
||||||
|
style="font-style:normal;font-weight:normal;font-size:8.48274px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.212069"
|
||||||
|
id="text320"
|
||||||
|
transform="matrix(1.9832225,0,0,1.9832225,-66.414375,-115.86681)">
|
||||||
|
<path
|
||||||
|
d="m 62.57046,116.77004 v -1.31201 l 3.280018,-1.45904 q 0.158346,-0.0679 0.305381,-0.1018 0.158346,-0.0452 0.282761,-0.0679 0.135725,-0.0113 0.271449,-0.0226 v -0.0905 q -0.135724,-0.0113 -0.271449,-0.0452 -0.124415,-0.0226 -0.282761,-0.0566 -0.147035,-0.0452 -0.305381,-0.1131 l -3.280018,-1.45904 v -1.32332 l 5.067063,2.31863 v 1.4138 z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:11.3104px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;stroke-width:0.212069"
|
||||||
|
id="path1011"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
d="m 69.17132,117.75404 h 5.428996 v 1.27808 H 69.17132 Z"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:11.3104px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;stroke-width:0.212069"
|
||||||
|
id="path1013"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<path
|
||||||
|
style="fill:#59bfaa;fill-opacity:1;stroke-width:1.04501"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
d="M 91.894724,91.209179 H 74.511981 c -1.195076,0 -2.172856,0.904643 -2.172856,2.010308 v 12.789833 l -0.922814,3.94747 5.26851,-3.19426 h 15.209903 c 1.195083,0 2.172841,-0.90465 2.172841,-2.01035 V 93.219487 c 0,-1.105665 -0.977758,-2.010308 -2.172841,-2.010308 z m -11.950639,9.046411 h -2.172837 v -2.010304 h 2.172837 z m 4.345697,0 h -2.172859 v -2.010304 h 2.172859 z m 4.34567,0 H 86.46262 v -2.010304 h 2.172832 z"
|
||||||
|
id="path403"
|
||||||
|
sodipodi:nodetypes="ssscccssssccccccccccccccc" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="g18852"
|
||||||
|
inkscape:label="round icon preview"
|
||||||
|
style="display:inline">
|
||||||
|
<path
|
||||||
|
id="path18850"
|
||||||
|
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke-width:0.999999"
|
||||||
|
d="M 0,0 V 190 H 84.177734 A 95.321232,95.321232 0 0 1 0.03320312,95.402344 95.321232,95.321232 0 0 1 95.353516,0.08007812 95.321232,95.321232 0 0 1 190,84.138672 V 0 Z M 190,106.1543 A 95.321232,95.321232 0 0 1 106.53125,190 H 190 Z"
|
||||||
|
transform="scale(0.26458333)" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 5.8 KiB |
|
@ -8,8 +8,8 @@
|
||||||
version="1.1"
|
version="1.1"
|
||||||
id="svg8"
|
id="svg8"
|
||||||
inkscape:version="1.1.1 (3bf5ae0, 2021-09-20)"
|
inkscape:version="1.1.1 (3bf5ae0, 2021-09-20)"
|
||||||
sodipodi:docname="launcher_20.svg"
|
sodipodi:docname="launcher_21.svg"
|
||||||
inkscape:export-filename="/home/pheckel/Code/ntfy-android/assets/launcher_13_bg.png"
|
inkscape:export-filename="/home/pheckel/Code/ntfy-android/assets/launcher_20_fg.png"
|
||||||
inkscape:export-xdpi="258.69"
|
inkscape:export-xdpi="258.69"
|
||||||
inkscape:export-ydpi="258.69"
|
inkscape:export-ydpi="258.69"
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
@ -24,15 +24,27 @@
|
||||||
id="defs2">
|
id="defs2">
|
||||||
<linearGradient
|
<linearGradient
|
||||||
inkscape:collect="always"
|
inkscape:collect="always"
|
||||||
id="linearGradient13319">
|
id="linearGradient11307">
|
||||||
<stop
|
<stop
|
||||||
style="stop-color:#d3d3d3;stop-opacity:1"
|
style="stop-color:#aeaeae;stop-opacity:1"
|
||||||
offset="0"
|
offset="0"
|
||||||
id="stop13315" />
|
id="stop11303" />
|
||||||
<stop
|
<stop
|
||||||
style="stop-color:#feffff;stop-opacity:1"
|
style="stop-color:#e8e8e8;stop-opacity:1"
|
||||||
offset="1"
|
offset="1"
|
||||||
id="stop13317" />
|
id="stop11305" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
id="linearGradient10869">
|
||||||
|
<stop
|
||||||
|
style="stop-color:#4ecb26;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop10865" />
|
||||||
|
<stop
|
||||||
|
style="stop-color:#c5f2b7;stop-opacity:1"
|
||||||
|
offset="1"
|
||||||
|
id="stop10867" />
|
||||||
</linearGradient>
|
</linearGradient>
|
||||||
<linearGradient
|
<linearGradient
|
||||||
inkscape:collect="always"
|
inkscape:collect="always"
|
||||||
|
@ -67,7 +79,7 @@
|
||||||
x2="87.224854"
|
x2="87.224854"
|
||||||
y2="122.54991"
|
y2="122.54991"
|
||||||
gradientUnits="userSpaceOnUse"
|
gradientUnits="userSpaceOnUse"
|
||||||
gradientTransform="matrix(1.302925,0,0,1.302925,-21.025152,-36.28416)" />
|
gradientTransform="matrix(1.2406313,0,0,1.2406313,-16.29538,-29.727622)" />
|
||||||
<linearGradient
|
<linearGradient
|
||||||
inkscape:collect="always"
|
inkscape:collect="always"
|
||||||
xlink:href="#linearGradient873"
|
xlink:href="#linearGradient873"
|
||||||
|
@ -77,16 +89,25 @@
|
||||||
x2="87.091209"
|
x2="87.091209"
|
||||||
y2="105.0985"
|
y2="105.0985"
|
||||||
gradientUnits="userSpaceOnUse"
|
gradientUnits="userSpaceOnUse"
|
||||||
gradientTransform="matrix(1.3104386,0,0,1.302925,-21.473506,-36.28416)" />
|
gradientTransform="matrix(1.2477856,0,0,1.2406313,-16.722298,-29.727622)" />
|
||||||
<linearGradient
|
<linearGradient
|
||||||
inkscape:collect="always"
|
inkscape:collect="always"
|
||||||
xlink:href="#linearGradient13319"
|
xlink:href="#linearGradient10869"
|
||||||
id="linearGradient13321"
|
id="linearGradient10871"
|
||||||
x1="51.147327"
|
x1="51.147327"
|
||||||
y1="81.515579"
|
y1="81.515579"
|
||||||
x2="101.41816"
|
x2="101.41816"
|
||||||
y2="131.78641"
|
y2="131.78641"
|
||||||
gradientUnits="userSpaceOnUse" />
|
gradientUnits="userSpaceOnUse" />
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient11307"
|
||||||
|
id="linearGradient11309"
|
||||||
|
x1="71.301796"
|
||||||
|
y1="89.917473"
|
||||||
|
x2="94.809662"
|
||||||
|
y2="112.12431"
|
||||||
|
gradientUnits="userSpaceOnUse" />
|
||||||
</defs>
|
</defs>
|
||||||
<sodipodi:namedview
|
<sodipodi:namedview
|
||||||
id="base"
|
id="base"
|
||||||
|
@ -95,11 +116,11 @@
|
||||||
borderopacity="1.0"
|
borderopacity="1.0"
|
||||||
inkscape:pageopacity="0.0"
|
inkscape:pageopacity="0.0"
|
||||||
inkscape:pageshadow="2"
|
inkscape:pageshadow="2"
|
||||||
inkscape:zoom="4.7557066"
|
inkscape:zoom="0.28756667"
|
||||||
inkscape:cx="79.588593"
|
inkscape:cx="919.78671"
|
||||||
inkscape:cy="107.66013"
|
inkscape:cy="650.28399"
|
||||||
inkscape:document-units="mm"
|
inkscape:document-units="mm"
|
||||||
inkscape:current-layer="layer1"
|
inkscape:current-layer="layer2"
|
||||||
showgrid="false"
|
showgrid="false"
|
||||||
inkscape:measure-start="0,0"
|
inkscape:measure-start="0,0"
|
||||||
inkscape:measure-end="0,0"
|
inkscape:measure-end="0,0"
|
||||||
|
@ -133,7 +154,7 @@
|
||||||
inkscape:label="background"
|
inkscape:label="background"
|
||||||
style="display:inline">
|
style="display:inline">
|
||||||
<path
|
<path
|
||||||
style="opacity:1;fill:url(#linearGradient13321);fill-opacity:1;stroke-width:0.264583"
|
style="opacity:1;fill:url(#linearGradient10871);fill-opacity:1;stroke-width:0.264583"
|
||||||
d="M 51.147327,81.515579 H 101.41816 V 131.78641 H 51.147327 Z"
|
d="M 51.147327,81.515579 H 101.41816 V 131.78641 H 51.147327 Z"
|
||||||
id="rect283"
|
id="rect283"
|
||||||
transform="translate(-51.147326,-81.51558)" />
|
transform="translate(-51.147326,-81.51558)" />
|
||||||
|
@ -145,17 +166,17 @@
|
||||||
transform="translate(-51.147327,-81.515579)"
|
transform="translate(-51.147327,-81.515579)"
|
||||||
style="display:inline">
|
style="display:inline">
|
||||||
<rect
|
<rect
|
||||||
style="fill:url(#linearGradient845);fill-opacity:1;stroke:none;stroke-width:0.16339;stroke-opacity:1"
|
style="fill:url(#linearGradient845);fill-opacity:1;stroke:none;stroke-width:0.155578;stroke-opacity:1"
|
||||||
id="rect283-1"
|
id="rect283-1"
|
||||||
width="35.899391"
|
width="34.183018"
|
||||||
height="26.845356"
|
height="25.561861"
|
||||||
x="56.722897"
|
x="57.735481"
|
||||||
y="96.543839" />
|
y="96.749779" />
|
||||||
<g
|
<g
|
||||||
aria-label=">_"
|
aria-label=">_"
|
||||||
style="font-style:normal;font-weight:normal;font-size:8.48274px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.212069"
|
style="font-style:normal;font-weight:normal;font-size:8.48274px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.212069"
|
||||||
id="text320"
|
id="text320"
|
||||||
transform="matrix(1.302925,0,0,1.302925,-20.839797,-37.163349)">
|
transform="matrix(1.2406313,0,0,1.2406313,-16.118887,-30.564776)">
|
||||||
<path
|
<path
|
||||||
d="m 62.57046,116.77004 v -1.31201 l 3.280018,-1.45904 q 0.158346,-0.0679 0.305381,-0.1018 0.158346,-0.0452 0.282761,-0.0679 0.135725,-0.0113 0.271449,-0.0226 v -0.0905 q -0.135724,-0.0113 -0.271449,-0.0452 -0.124415,-0.0226 -0.282761,-0.0566 -0.147035,-0.0452 -0.305381,-0.1131 l -3.280018,-1.45904 v -1.32332 l 5.067063,2.31863 v 1.4138 z"
|
d="m 62.57046,116.77004 v -1.31201 l 3.280018,-1.45904 q 0.158346,-0.0679 0.305381,-0.1018 0.158346,-0.0452 0.282761,-0.0679 0.135725,-0.0113 0.271449,-0.0226 v -0.0905 q -0.135724,-0.0113 -0.271449,-0.0452 -0.124415,-0.0226 -0.282761,-0.0566 -0.147035,-0.0452 -0.305381,-0.1131 l -3.280018,-1.45904 v -1.32332 l 5.067063,2.31863 v 1.4138 z"
|
||||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:11.3104px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;stroke-width:0.212069"
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:11.3104px;font-family:'JetBrains Mono';-inkscape-font-specification:'JetBrains Mono, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;stroke-width:0.212069"
|
||||||
|
@ -168,16 +189,25 @@
|
||||||
inkscape:connector-curvature="0" />
|
inkscape:connector-curvature="0" />
|
||||||
</g>
|
</g>
|
||||||
<rect
|
<rect
|
||||||
style="fill:url(#linearGradient875);fill-opacity:1;stroke-width:0.0815418"
|
style="fill:url(#linearGradient875);fill-opacity:1;stroke-width:0.0776432"
|
||||||
id="rect283-1-9"
|
id="rect283-1-9"
|
||||||
width="36.106411"
|
width="34.380138"
|
||||||
height="6.6478906"
|
height="6.3300505"
|
||||||
x="56.722897"
|
x="57.735481"
|
||||||
y="96.543839" />
|
y="96.749779" />
|
||||||
<path
|
<path
|
||||||
style="fill:#4ecb26;fill-opacity:1;stroke-width:1.203"
|
style="fill:url(#linearGradient11309);fill-opacity:1;stroke-width:1.14548"
|
||||||
inkscape:connector-curvature="0"
|
inkscape:connector-curvature="0"
|
||||||
d="M 93.687597,89.445767 H 73.874439 c -1.36217,0 -2.476659,1.051813 -2.476659,2.337352 v 21.036241 l 4.9533,-4.67471 h 17.336517 c 1.362173,0 2.476651,-1.05183 2.476651,-2.3374 V 91.783119 c 0,-1.285539 -1.114478,-2.337352 -2.476651,-2.337352 z M 80.066048,99.963882 H 77.58941 v -2.337346 h 2.476638 z m 4.953301,0 h -2.476662 v -2.337346 h 2.476662 z m 4.953276,0 H 87.49599 v -2.337346 h 2.476635 z"
|
d="M 92.932873,89.991071 H 74.066996 c -1.297044,0 -2.358248,1.001525 -2.358248,2.225601 v 20.030488 l 4.716479,-4.45121 h 16.507646 c 1.297047,0 2.358241,-1.00154 2.358241,-2.22565 V 92.216672 c 0,-1.224076 -1.061194,-2.225601 -2.358241,-2.225601 z M 79.96258,100.00631 h -2.358228 v -2.225598 h 2.358228 z m 4.71648,0 h -2.358251 v -2.225598 h 2.358251 z m 4.716456,0 h -2.358225 v -2.225598 h 2.358225 z"
|
||||||
id="path403" />
|
id="path403" />
|
||||||
</g>
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer3"
|
||||||
|
inkscape:label="round icon preview">
|
||||||
|
<path
|
||||||
|
id="path18850"
|
||||||
|
style="display:inline;fill:#ffffff;fill-opacity:1;stroke-width:0.264583"
|
||||||
|
d="M 1e-6,-3e-6 V 50.27083 H 22.272026 A 25.220409,25.220409 0 0 1 0.008786,25.241867 25.220409,25.220409 0 0 1 25.228952,0.021184 25.220409,25.220409 0 0 1 50.270834,22.261687 V -3e-6 Z M 50.270834,28.086655 A 25.220409,25.220409 0 0 1 28.186394,50.27083 h 22.08444 z" />
|
||||||
|
</g>
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 7 KiB After Width: | Height: | Size: 8.1 KiB |
BIN
assets/old/launcher_bg.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
assets/old/launcher_fg.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |