Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
febde276
Commit
febde276
authored
8 months ago
by
Pierre Nicolas
Browse files
Options
Downloads
Patches
Plain Diff
wizard: also apply register name filter on androidtv
GitLab:
#1683
Change-Id: Idb7b434ab3cfd7d8cad2540017f431e43d50cb05
parent
388b9429
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jami-android/app/src/main/java/cx/ring/tv/account/TVJamiAccountCreationFragment.kt
+3
-0
3 additions, 0 deletions
.../java/cx/ring/tv/account/TVJamiAccountCreationFragment.kt
with
3 additions
and
0 deletions
jami-android/app/src/main/java/cx/ring/tv/account/TVJamiAccountCreationFragment.kt
+
3
−
0
View file @
febde276
...
...
@@ -19,6 +19,7 @@ package cx.ring.tv.account
import
android.app.Activity
import
android.os.Bundle
import
android.text.Editable
import
android.text.InputFilter
import
android.text.TextWatcher
import
android.util.Log
import
android.view.View
...
...
@@ -29,6 +30,7 @@ import androidx.leanback.widget.GuidanceStylist.Guidance
import
androidx.leanback.widget.GuidedAction
import
cx.ring.R
import
cx.ring.account.AccountCreationViewModel
import
cx.ring.utils.RegisteredNameFilter
import
dagger.hilt.android.AndroidEntryPoint
import
net.jami.account.JamiAccountCreationPresenter
import
net.jami.account.JamiAccountCreationView
...
...
@@ -86,6 +88,7 @@ class TVJamiAccountCreationFragment : JamiGuidedStepFragment<JamiAccountCreation
val
text
=
view
.
findViewById
<
EditText
>(
androidx
.
leanback
.
R
.
id
.
guidedactions_item_title
)
text
.
removeTextChangedListener
(
mUsernameWatcher
)
if
(
action
.
id
==
USERNAME
)
{
text
.
filters
=
arrayOf
<
InputFilter
>(
RegisteredNameFilter
())
text
.
addTextChangedListener
(
mUsernameWatcher
)
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment