Commit fabc42e2 authored by wanglei's avatar wanglei

...ui

parent 9339dee9
......@@ -221,7 +221,7 @@ object DialogViews {
return dialog
}
fun Context.showDeletePermanentlyDialog(deleteAction: () -> Unit) {
fun Context.showDeletePermanentlyDialog( deleteAction: () -> Unit) {
val binding = DialogDeletePermanentlyBinding.inflate(LayoutInflater.from(this))
val dialog = AlertDialog.Builder(this, R.style.CustomAlertDialogStyle).create()
dialog.setView(binding.root)
......
......@@ -34,6 +34,7 @@
android:layout_marginHorizontal="30dp"
android:layout_marginTop="14dp"
android:gravity="center"
android:text="The photo or video will be deleted from your device permanently,Are you sure to delete?"
android:textColor="#666666"
android:textSize="14sp"
tools:ignore="HardcodedText" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment