Skip to content

Commit

Permalink
Fix track listing on sign in
Browse files Browse the repository at this point in the history
  • Loading branch information
platypii committed Oct 24, 2023
1 parent f64a49e commit 5bf53f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public void onResume() {
}

private void updateList() {
listAdapter.notifyDataSetChanged();
// Handle no-tracks case
final boolean isEmpty = listAdapter.isEmpty();
binding.tracksEmpty.setVisibility(isEmpty ? View.VISIBLE : View.GONE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private FilterKalman(double sensorVariance, double accelerationVariance) {
public void update(double z, double dt) {
// Check for input exceptions
if (Double.isNaN(z)) {
Log.e(TAG, "Invalid update: z = NaN");
Log.w(TAG, "Invalid update: z = NaN");
return;
}
// Ignore invalid time delta
Expand Down

0 comments on commit 5bf53f4

Please sign in to comment.