Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
99843c2a
Commit
99843c2a
authored
Nov 30, 2017
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the name of the methods.
parent
54749d51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
AuthenticationLoginFragment.kt
...va/chat/rocket/android/app/AuthenticationLoginFragment.kt
+14
-14
No files found.
app/src/main/java/chat/rocket/android/app/AuthenticationLoginFragment.kt
View file @
99843c2a
...
...
@@ -32,9 +32,9 @@ class AuthenticationLoginFragment : Fragment() {
setupEditTextListener
()
// Show the first three social account's ImageButton (REMARK: we must show at maximum *three* views)
showLoginUsingFacebookImage
b
utton
()
showLoginUsingGithubImage
b
utton
()
showLoginUsingGoogleImage
b
utton
()
showLoginUsingFacebookImage
B
utton
()
showLoginUsingGithubImage
B
utton
()
showLoginUsingGoogleImage
B
utton
()
// Setup the FloatingActionButton to show more social account's ImageButton (it expands the social accounts interface to show more views).
setupFabListener
()
...
...
@@ -127,40 +127,40 @@ class AuthenticationLoginFragment : Fragment() {
}
}
private
fun
showLoginUsingFacebookImage
b
utton
()
{
private
fun
showLoginUsingFacebookImage
B
utton
()
{
button_facebook
.
visibility
=
View
.
VISIBLE
}
private
fun
showLoginUsingGithubImage
b
utton
()
{
private
fun
showLoginUsingGithubImage
B
utton
()
{
button_github
.
visibility
=
View
.
VISIBLE
}
private
fun
showLoginUsingGoogleImage
b
utton
()
{
private
fun
showLoginUsingGoogleImage
B
utton
()
{
button_google
.
visibility
=
View
.
VISIBLE
}
private
fun
showLoginUsingLinkedinImage
b
utton
()
{
private
fun
showLoginUsingLinkedinImage
B
utton
()
{
button_linkedin
.
visibility
=
View
.
VISIBLE
}
private
fun
showLoginUsingMeteorImage
b
utton
()
{
private
fun
showLoginUsingMeteorImage
B
utton
()
{
button_meteor
.
visibility
=
View
.
VISIBLE
}
private
fun
showLoginUsingTwitterImage
b
utton
()
{
private
fun
showLoginUsingTwitterImage
B
utton
()
{
button_twitter
.
visibility
=
View
.
VISIBLE
}
private
fun
showLoginUsingGitlabImage
b
utton
()
{
private
fun
showLoginUsingGitlabImage
B
utton
()
{
button_gitlab
.
visibility
=
View
.
VISIBLE
}
private
fun
setupFabListener
()
{
button_fab
.
setOnClickListener
({
showLoginUsingLinkedinImage
b
utton
()
showLoginUsingMeteorImage
b
utton
()
showLoginUsingTwitterImage
b
utton
()
showLoginUsingGitlabImage
b
utton
()
showLoginUsingLinkedinImage
B
utton
()
showLoginUsingMeteorImage
B
utton
()
showLoginUsingTwitterImage
B
utton
()
showLoginUsingGitlabImage
B
utton
()
scrollToBottom
()
hideFab
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment