remove logical not from faulty template
This commit is contained in:
parent
a75ac69b76
commit
0c637a9686
2 changed files with 4 additions and 4 deletions
|
|
@ -95,8 +95,8 @@ public class LoginActivity extends AppCompatActivity implements AsyncTaskCallbac
|
||||||
View focusView = null;
|
View focusView = null;
|
||||||
|
|
||||||
// Check for a valid pin, if the user entered one.
|
// Check for a valid pin, if the user entered one.
|
||||||
if (!TextUtils.isEmpty(pin)) {
|
if (TextUtils.isEmpty(pin)) {
|
||||||
mPinView.setError(getString(R.string.error_invalid_pin));
|
mPinView.setError(getString(R.string.error_field_required));
|
||||||
focusView = mPinView;
|
focusView = mPinView;
|
||||||
cancel = true;
|
cancel = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
tools:context="com.example.hochi.nextcompanion.MainActivity">
|
tools:context="com.example.hochi.nextcompanion.MainActivity">
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_settings"
|
android:id="@+id/action_logout"
|
||||||
android:orderInCategory="100"
|
android:orderInCategory="100"
|
||||||
android:title="@string/action_settings"
|
android:title="@string/action_logout"
|
||||||
app:showAsAction="never" />
|
app:showAsAction="never" />
|
||||||
</menu>
|
</menu>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue