Skip to content

Commit 038c9ba

Browse files
committed
updated logo
1 parent 7fc4fbc commit 038c9ba

File tree

5 files changed

+37
-7
lines changed

5 files changed

+37
-7
lines changed

app/src/main/java/com/atom/letmein/MainActivity.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ class MainActivity : AppCompatActivity() {
9494
"COUNTDOWN" -> updatePush("${getString(R.string.req_sent_exp)} (${response.currentTime}s)", it)
9595
"TIMEOUT" -> {
9696
sendTemporaryPush(getString(R.string.req_timeout), getString(R.string.req_timeout_exp))
97-
this.close(0, "Request timed out")
97+
this.close(1000, "Request timed out")
9898
}
9999
"ACKNOWLEDGE" -> {
100100
sendTemporaryPush(getString(R.string.req_ack), getString(R.string.req_ack_exp))
101-
this.close(0, "Request was acknowledged")
101+
this.close(1000, "Request was acknowledged")
102102
}
103103
}
104104
}
@@ -119,7 +119,7 @@ class MainActivity : AppCompatActivity() {
119119
sendTemporaryPush(getString(R.string.req_error), getString(R.string.req_error_exp), 2024)
120120
idWS = 0
121121
runOnUiThread { findViewById<Button>(R.id.cancelButton).visibility = View.INVISIBLE }
122-
close(0, "Ran into an error!")
122+
close(1000, "Ran into an error!")
123123
}
124124
}
125125
}
@@ -205,7 +205,7 @@ class MainActivity : AppCompatActivity() {
205205
if (webSocketClient.isOpen) {
206206
val payload = """{"Event":"NEVERMIND", "LOCATION": "$locationWS"}"""
207207
webSocketClient.send(payload)
208-
webSocketClient.close(0, "Request cancelled")
208+
webSocketClient.close(1000, "Request cancelled")
209209
sendTemporaryPush(getString(R.string.req_cancel), getString(R.string.req_cancel_exp), 2024)
210210
}
211211
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="1080dp"
3+
android:height="1080dp"
4+
android:viewportWidth="1080"
5+
android:viewportHeight="1080">
6+
<path
7+
android:pathData="M690,412.5L690,307.5C690,290.9 676.6,277.5 660,277.5L300,277.5C283.4,277.5 270,290.9 270,307.5L270,772.5C270,789.1 283.4,802.5 300,802.5L660,802.5C676.6,802.5 690,789.1 690,772.5L690,667.5L600,667.5L600,697.5C600,705.8 593.3,712.5 585,712.5L375,712.5C366.7,712.5 360,705.8 360,697.5L360,382.5C360,374.2 366.7,367.5 375,367.5L585,367.5C593.3,367.5 600,374.2 600,382.5L600,412.5L690,412.5z"
8+
android:strokeLineJoin="miter"
9+
android:strokeWidth="1"
10+
android:fillColor="@color/white"
11+
android:fillType="evenOdd"
12+
android:strokeColor="#00000000"
13+
android:strokeLineCap="butt"/>
14+
<path
15+
android:pathData="M562.5,397.5L397.5,397.5C393.4,397.5 390,400.9 390,405L390,562.5C390,566.6 393.4,570 397.5,570L498.8,570C500.8,570 502.5,571.7 502.5,573.8L502.5,618.7C502.5,620.8 500.8,622.5 498.8,622.5L461.3,622.5C459.2,622.5 457.5,620.8 457.5,618.7L457.5,600L390,600L390,675C390,679.1 393.4,682.5 397.5,682.5L562.5,682.5C566.6,682.5 570,679.1 570,675L570,517.5C570,513.4 566.6,510 562.5,510L461.3,510C459.2,510 457.5,508.3 457.5,506.3L457.5,461.3C457.5,459.2 459.2,457.5 461.2,457.5L498.8,457.5C500.8,457.5 502.5,459.2 502.5,461.3L502.5,480L570,480L570,405C570,400.9 566.6,397.5 562.5,397.5z"
16+
android:strokeLineJoin="miter"
17+
android:strokeWidth="1"
18+
android:fillColor="@color/white"
19+
android:fillType="nonZero"
20+
android:strokeColor="#00000000"
21+
android:strokeLineCap="butt"/>
22+
<path
23+
android:pathData="M690,577.5l0,60l-90,0l0,-195l90,0l0,60l30,0l0,-225l90,0l0,525l-90,0l0,-225z"
24+
android:strokeLineJoin="miter"
25+
android:strokeWidth="1"
26+
android:fillColor="@color/white"
27+
android:fillType="nonZero"
28+
android:strokeColor="#00000000"
29+
android:strokeLineCap="butt"/>
30+
</vector>

app/src/main/res/drawable/ic_launcher_background.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
android:viewportWidth="108"
66
android:viewportHeight="108">
77
<path
8-
android:fillColor="#3DDC84"
8+
android:fillColor="@color/purple_700"
99
android:pathData="M0,0h108v108h-108z" />
1010
<path
1111
android:fillColor="#00000000"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
33
<background android:drawable="@drawable/ic_launcher_background" />
4-
<foreground android:drawable="@drawable/ic_launcher_foreground" />
4+
<foreground android:drawable="@drawable/ic_foreground"/>
55
</adaptive-icon>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
33
<background android:drawable="@drawable/ic_launcher_background" />
4-
<foreground android:drawable="@drawable/ic_launcher_foreground" />
4+
<foreground android:drawable="@drawable/ic_foreground" />
55
</adaptive-icon>

0 commit comments

Comments
 (0)