We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 780ff1f commit b64ee91Copy full SHA for b64ee91
app/src/main/java/org/blitzortung/android/dialogs/LogDialog.kt
@@ -64,6 +64,10 @@ class LogDialog(
64
with(findViewById<Button>(R.id.log_send_email)) {
65
setOnClickListener { composeEmail(logText) }
66
}
67
+
68
+ with(findViewById<Button>(R.id.log_cancel)) {
69
+ setOnClickListener { dismiss() }
70
+ }
71
72
73
private fun getCacheString(): String {
app/src/main/res/layout/log_dialog.xml
@@ -48,4 +48,10 @@
48
android:layout_height="wrap_content"
49
android:text="@string/share_log" />
50
51
-</LinearLayout>
+ <Button
52
+ android:id="@+id/log_cancel"
53
+ android:layout_width="match_parent"
54
+ android:layout_height="wrap_content"
55
+ android:text="@string/cancel" />
56
57
+</LinearLayout>
0 commit comments