Skip to content

Commit

Permalink
Vehículos suspendidos no saldrán como opción para repostar ni añadir …
Browse files Browse the repository at this point in the history
…gastos. Fix #9
  • Loading branch information
juanro49 committed Nov 25, 2024
1 parent 24ea979 commit 0496c10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
getFragmentManager());

// Car
CarCursor car = new CarSelection().query(getActivity().getContentResolver(), null,
CarCursor car = new CarSelection().suspendedSince((Date) null).query(getActivity().getContentResolver(), null,
CarColumns.NAME + " COLLATE UNICODE");
mSpnCar.setAdapter(new SimpleCursorAdapter(getActivity(),
android.R.layout.simple_spinner_dropdown_item,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ protected void initFields(Bundle savedInstanceState, View v) {
station, new String[]{StationColumns.NAME}, new int[]{android.R.id.text1}, 0));

// Car
CarCursor car = new CarSelection().query(getActivity().getContentResolver(), null,
CarCursor car = new CarSelection().suspendedSince((Date) null).query(getActivity().getContentResolver(), null,
CarColumns.NAME + " COLLATE UNICODE");
spnCar.setAdapter(new SimpleCursorAdapter(getActivity(),
android.R.layout.simple_spinner_dropdown_item,
Expand Down

0 comments on commit 0496c10

Please sign in to comment.