From 119ecf2060d6090b17caa362d704d8fbe737863c Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 22 Nov 2016 20:52:14 +0100 Subject: [PATCH] use android.app.AlertDialog for dialogs so they are styled properly --- .../simplemobiletools/gallery/dialogs/ChangeSortingDialog.kt | 2 +- .../kotlin/com/simplemobiletools/gallery/dialogs/CopyDialog.kt | 2 +- .../com/simplemobiletools/gallery/dialogs/PickAlbumDialog.kt | 2 +- .../simplemobiletools/gallery/dialogs/RenameDirectoryDialog.kt | 2 +- .../com/simplemobiletools/gallery/dialogs/RenameFileDialog.kt | 2 +- .../com/simplemobiletools/gallery/dialogs/SaveAsDialog.kt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/ChangeSortingDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/ChangeSortingDialog.kt index d76e11ac8..f71261cb9 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/ChangeSortingDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/ChangeSortingDialog.kt @@ -1,8 +1,8 @@ package com.simplemobiletools.gallery.dialogs import android.app.Activity +import android.app.AlertDialog import android.content.DialogInterface -import android.support.v7.app.AlertDialog import android.view.LayoutInflater import android.view.View import com.simplemobiletools.gallery.* diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/CopyDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/CopyDialog.kt index 3d605d97e..daae39ba4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/CopyDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/CopyDialog.kt @@ -1,7 +1,7 @@ package com.simplemobiletools.gallery.dialogs +import android.app.AlertDialog import android.support.v4.util.Pair -import android.support.v7.app.AlertDialog import android.view.LayoutInflater import android.view.WindowManager import com.simplemobiletools.filepicker.asynctasks.CopyMoveTask diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/PickAlbumDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/PickAlbumDialog.kt index f9a096da3..da25e292f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/PickAlbumDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/PickAlbumDialog.kt @@ -1,6 +1,6 @@ package com.simplemobiletools.gallery.dialogs -import android.support.v7.app.AlertDialog +import android.app.AlertDialog import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import com.simplemobiletools.gallery.R diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/RenameDirectoryDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/RenameDirectoryDialog.kt index c177e86d4..03b0d3209 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/RenameDirectoryDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/RenameDirectoryDialog.kt @@ -1,6 +1,6 @@ package com.simplemobiletools.gallery.dialogs -import android.support.v7.app.AlertDialog +import android.app.AlertDialog import android.view.LayoutInflater import android.view.WindowManager import com.simplemobiletools.filepicker.extensions.* diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/RenameFileDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/RenameFileDialog.kt index 4471ba94d..b135e15d9 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/RenameFileDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/RenameFileDialog.kt @@ -1,6 +1,6 @@ package com.simplemobiletools.gallery.dialogs -import android.support.v7.app.AlertDialog +import android.app.AlertDialog import android.view.LayoutInflater import android.view.WindowManager import com.simplemobiletools.filepicker.extensions.* diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/SaveAsDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/SaveAsDialog.kt index 359f8b84f..8aae9029b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/SaveAsDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/dialogs/SaveAsDialog.kt @@ -1,7 +1,7 @@ package com.simplemobiletools.gallery.dialogs import android.app.Activity -import android.support.v7.app.AlertDialog +import android.app.AlertDialog import android.view.LayoutInflater import android.view.WindowManager import com.simplemobiletools.filepicker.extensions.getFilenameFromPath