Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
Фикс: баг текста в диологе ввода пароля
Browse files Browse the repository at this point in the history
когда была белая тема отображался текст в editText неправильного цвета
  • Loading branch information
ve3xone committed Jun 19, 2024
1 parent 53e9f89 commit 1ee3f1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/org/goyda/todo/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import android.content.BroadcastReceiver
import android.content.Context
import android.content.IntentFilter
import android.content.pm.PackageManager
import android.graphics.Color
import android.graphics.Typeface
import android.net.Uri
import android.os.Parcelable
Expand Down Expand Up @@ -176,6 +177,7 @@ class MainActivity : AppCompatActivity(), OnItemClick {
dialogView = true
val passwordEditText = EditText(this).apply {
inputType = InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_VARIATION_PASSWORD
setTextColor(Color.WHITE)
}
val dialog = AlertDialog.Builder(this, R.style.PasswordDialogTheme)
.setTitle(title)
Expand Down

0 comments on commit 1ee3f1e

Please sign in to comment.