Update missed components
This commit is contained in:
@@ -522,12 +522,12 @@ internal class MessagesActivity :
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (item.itemId == R.id.action_delete_app) {
|
if (item.itemId == R.id.action_delete_app) {
|
||||||
val alert = android.app.AlertDialog.Builder(this)
|
MaterialAlertDialogBuilder(this)
|
||||||
alert.setTitle(R.string.delete_app)
|
.setTitle(R.string.delete_app)
|
||||||
alert.setMessage(R.string.ack)
|
.setMessage(R.string.ack)
|
||||||
alert.setPositiveButton(R.string.yes) { _, _ -> deleteApp(viewModel.appId) }
|
.setPositiveButton(R.string.yes) { _, _ -> deleteApp(viewModel.appId) }
|
||||||
alert.setNegativeButton(R.string.no, null)
|
.setNegativeButton(R.string.no, null)
|
||||||
alert.show()
|
.show()
|
||||||
}
|
}
|
||||||
return super.onContextItemSelected(item)
|
return super.onContextItemSelected(item)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,11 +62,11 @@
|
|||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
android:id="@+id/learn_gotify"
|
android:id="@+id/learn_gotify"
|
||||||
style="@style/Widget.AppCompat.Button.Colored"
|
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="32dp"
|
android:layout_marginTop="32dp"
|
||||||
android:text="Learn how to send messages"
|
android:text="Learn how to send messages"
|
||||||
|
android:textColor="@android:color/white"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/textView2" />
|
app:layout_constraintTop_toBottomOf="@+id/textView2" />
|
||||||
|
|||||||
Reference in New Issue
Block a user