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;
|
||||
|
||||
// Check for a valid pin, if the user entered one.
|
||||
if (!TextUtils.isEmpty(pin)) {
|
||||
mPinView.setError(getString(R.string.error_invalid_pin));
|
||||
if (TextUtils.isEmpty(pin)) {
|
||||
mPinView.setError(getString(R.string.error_field_required));
|
||||
focusView = mPinView;
|
||||
cancel = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="com.example.hochi.nextcompanion.MainActivity">
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:id="@+id/action_logout"
|
||||
android:orderInCategory="100"
|
||||
android:title="@string/action_settings"
|
||||
android:title="@string/action_logout"
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue