done with token logins, refactor some code

This commit is contained in:
M M Arif
2019-10-24 22:42:09 +05:00
parent 96ab992264
commit f9d51094e4
3 changed files with 254 additions and 115 deletions

View File

@ -29,7 +29,7 @@
android:layout_height="wrap_content"
android:text="@string/loginMethodText"
android:textColor="@color/white"
android:textSize="14sp"
android:textSize="12sp"
android:paddingStart="5dp"
android:paddingEnd="5dp"
android:layout_marginBottom="10dp"

View File

@ -531,5 +531,7 @@
<string name="loginViaPassword">Username / Password</string>
<string name="loginViaToken">Token</string>
<string name="loginMethodText">Choose your preferred login method to access your account. Token is more secure!</string>
<string name="unauthorizedApiError">Instance has returned an error - Unauthorized. Check your credentials and try again</string>
<string name="loginTokenError">Please enter the correct token</string>
</resources>