mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
Fix some typos
This commit is contained in:
parent
15b7c52b66
commit
74db60cfe7
1 changed files with 7 additions and 5 deletions
|
@ -303,16 +303,18 @@ public class DrugListActivity extends AppCompatActivity {
|
||||||
result -> {
|
result -> {
|
||||||
if(result.getContents() == null) {
|
if(result.getContents() == null) {
|
||||||
Intent originalIntent = result.getOriginalIntent();
|
Intent originalIntent = result.getOriginalIntent();
|
||||||
if (originalIntent == null {
|
if (originalIntent == null) {
|
||||||
Log.d(TAG, "Cancelled Scan");
|
Log.d(TAG, "Cancelled Scan");
|
||||||
Toast.makeText(DrugListActivity.this, "Cancelled", Toast.LENGTH_LONG).show();
|
Toast.makeText(DrugListActivity.this, "Cancelled",
|
||||||
|
Toast.LENGTH_LONG).show();
|
||||||
} else if (originalIntent.hasExtra(Intents.Scan.MISSING_CAMERA_PERMISSION)) {
|
} else if (originalIntent.hasExtra(Intents.Scan.MISSING_CAMERA_PERMISSION)) {
|
||||||
Log.d(TAG, "Cancelled scan due missing camera permission");
|
Log.d(TAG, "Cancelled scan due missing camera permission");
|
||||||
Toast.makeText(DrugListaActivity.this, "Cancelled due missing camera persmission",
|
Toast.makeText(DrugListActivity.this, "Cancelled due missing camera persmission",
|
||||||
Toast.LENGTH_LONG.show());
|
Toast.LENGTH_LONG).show();
|
||||||
} else if (originalIntent.hasExtra(Intents.Scan.TIMEOUT)) {
|
} else if (originalIntent.hasExtra(Intents.Scan.TIMEOUT)) {
|
||||||
Log.d(TAG, "Cancelled due timeout");
|
Log.d(TAG, "Cancelled due timeout");
|
||||||
Toast,makeText(DrugListActivity.this, "Cancelled due timeout", Toast.LENGTH_LONG.show());
|
Toast.makeText(DrugListActivity.this, "Cancelled due timeout",
|
||||||
|
Toast.LENGTH_LONG).show();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Log.d(TAG, "Scanned");
|
Log.d(TAG, "Scanned");
|
||||||
|
|
Loading…
Reference in a new issue