mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-13 18:41:30 +00:00
Utilise dialog dsl
This commit is contained in:
@@ -1,19 +0,0 @@
|
|||||||
package org.thoughtcrime.securesms.preferences
|
|
||||||
|
|
||||||
import android.app.Dialog
|
|
||||||
import android.os.Bundle
|
|
||||||
import androidx.fragment.app.DialogFragment
|
|
||||||
|
|
||||||
class ChangeUiModeDialog : DialogFragment() {
|
|
||||||
|
|
||||||
companion object {
|
|
||||||
const val TAG = "ChangeUiModeDialog"
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
|
||||||
val context = requireContext()
|
|
||||||
return android.app.AlertDialog.Builder(context)
|
|
||||||
.setTitle("TODO: remove this")
|
|
||||||
.show()
|
|
||||||
}
|
|
||||||
}
|
|
Reference in New Issue
Block a user