Skip to content

Conversation

@Abhimanyu121
Copy link
Contributor

Changed Toast notification text to " Welcome back ! " From " success ".

Fixes #697

Changed Toast notification text to " welcome back ! " From " success ".
Copy link
Member

@simarsingh24 simarsingh24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Store it in strings file and reference it here


loginActivityViewModel.loggedIn.observe(this, Observer {
Toast.makeText(context, "Welcome back!", Toast.LENGTH_LONG).show()
val loggedIn: String = getString(R.string.logged_in)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to create temp var

<string name="confirm_password">Confirm Password</string>
<string name="first_name_optional">First Name (Optional)</string>
<string name="last_name_optional">Last Name (Optional)</string>
<string name="logged_in">Welcome back!</string>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can name it welcome or welcome_back to avoid confusion

Copy link
Member

@iamareebjamal iamareebjamal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make the pull according to semantic standards

@Abhimanyu121 Abhimanyu121 changed the title Toast notification text for successful login chore: Toast notification text for successful login Nov 21, 2018
Copy link
Member

@codepoet2017390 codepoet2017390 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please squash your commits

@iamareebjamal iamareebjamal merged commit 51fb35d into fossasia:development Nov 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants