diff --git a/app/src/main/java/eu/darken/apl/alerts/ui/actions/AlertActionDialog.kt b/app/src/main/java/eu/darken/apl/alerts/ui/actions/AlertActionDialog.kt
index 4e1e35f..62e0564 100644
--- a/app/src/main/java/eu/darken/apl/alerts/ui/actions/AlertActionDialog.kt
+++ b/app/src/main/java/eu/darken/apl/alerts/ui/actions/AlertActionDialog.kt
@@ -26,9 +26,6 @@ class AlertActionDialog : BottomSheetDialogFragment2() {
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
- ui.primaryEditAction.setOnClickListener {
-
- }
ui.noteInput.addTextChangedListener {
vm.updateNote(it.toString())
}
diff --git a/app/src/main/res/layout/alerts_action_dialog.xml b/app/src/main/res/layout/alerts_action_dialog.xml
index b58afb7..eadecf5 100644
--- a/app/src/main/res/layout/alerts_action_dialog.xml
+++ b/app/src/main/res/layout/alerts_action_dialog.xml
@@ -38,7 +38,7 @@
android:singleLine="true"
android:textIsSelectable="true"
app:layout_constraintBottom_toTopOf="@id/secondary"
- app:layout_constraintEnd_toStartOf="@id/primary_edit_action"
+ app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/icon"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
@@ -53,24 +53,12 @@
android:ellipsize="end"
android:singleLine="true"
android:textIsSelectable="true"
- app:layout_constraintBottom_toTopOf="@id/tertiary"
- app:layout_constraintEnd_toStartOf="@id/primary_edit_action"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@id/primary"
app:layout_constraintTop_toBottomOf="@id/primary"
tools:text="@string/alerts_item_hexcode_subtitle" />
-
-
-
Create your first aircraft alert now!
Aircraft (hex code)
Transponder code (SQUAWK)
- Callsign / Flight
+ Flight (callsign)
New hexcode alert
Enter the hexcode of the aircraft you want alerts for.
New squawk alert