Skip to content

Commit

Permalink
remove deprecated code
Browse files Browse the repository at this point in the history
  • Loading branch information
bellerbrock committed Aug 7, 2023
1 parent f5a03c3 commit d720cbe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public class CollectActivity extends ThemedActivity
public static final int REQUEST_FILE_EXPLORER_CODE = 1;
public static final int BARCODE_COLLECT_CODE = 99;
public static final int BARCODE_SEARCH_CODE = 98;

private GeoNavHelper geoNavHelper;

@Inject
Expand Down Expand Up @@ -1156,7 +1157,6 @@ public boolean onOptionsItemSelected(MenuItem item) {
final int resourcesId = R.id.resources;
final int nextEmptyPlotId = R.id.nextEmptyPlot;
final int jumpToPlotId = R.id.jumpToPlot;
// final int barcodeScanId = R.id.barcodeScan;
final int dataGridId = R.id.datagrid;
final int lockDataId = R.id.lockData;
final int summaryId = R.id.summary;
Expand Down Expand Up @@ -1209,16 +1209,6 @@ public boolean onOptionsItemSelected(MenuItem item) {
refreshMain();

break;
// case jumpToPlotId:
// moveToPlotID();
// break;
// case barcodeScanId:
// new IntentIntegrator(this)
// .setPrompt(getString(R.string.main_barcode_text))
// .setBeepEnabled(false)
// .setRequestCode(BARCODE_SEARCH_CODE)
// .initiateScan();
// break;
case jumpToPlotId:
String moveToUniqueIdValue = ep.getString(GeneralKeys.MOVE_TO_UNIQUE_ID, "");
if (moveToUniqueIdValue.equals("2")) {
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/menu/menu_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
android:icon="@drawable/ic_tb_barcode_scan"
android:showAsAction="always"
android:title="@string/main_toolbar_moveto" />
<!-- <item-->
<!-- android:id="@+id/barcodeScan"-->
<!-- android:icon="@drawable/ic_tb_barcode_scan"-->
<!-- android:showAsAction="always"-->
<!-- android:title="@string/main_toolbar_barcode_scan" />-->
<item
android:id="@+id/datagrid"
android:icon="@drawable/ic_tb_datagrid"
Expand Down

0 comments on commit d720cbe

Please sign in to comment.