Skip to content

Commit

Permalink
fix(Notification display time): Input type
Browse files Browse the repository at this point in the history
  • Loading branch information
axel358 committed Feb 8, 2024
1 parent 2ddcf4a commit e083c03
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@ class NotificationPreferences : PreferenceFragmentCompat() {
editText.inputType = InputType.TYPE_CLASS_NUMBER
editText.imeOptions = EditorInfo.IME_ACTION_GO
}

val ignoredNotifications: EditTextPreference? = findPreference("blocked_notifications")
ignoredNotifications?.setOnBindEditTextListener { editText ->
editText.inputType = InputType.TYPE_CLASS_TEXT
editText.imeOptions = EditorInfo.IME_ACTION_GO
}
}
}

0 comments on commit e083c03

Please sign in to comment.