-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated varible in limitactivity #88
Conversation
@@ -148,14 +148,14 @@ public void onClick(View view) { | |||
public void onDataChange(@NonNull DataSnapshot snapshot) { | |||
for (DataSnapshot snapshot3 : snapshot.getChildren()) { | |||
if (Integer.parseInt(snapshot3.child("Day").getValue().toString()) == (thisDay)) { | |||
String amm = (snapshot3.child("Amount").getValue()).toString(); | |||
String amm = (snapshot3.child("Amount").getValue().toString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'if' child has incorrect indentation level 24, expected level should be one of the following: 16, 18, 20.
int am1 = Integer.parseInt(amm); | ||
day_tol = am1 + day_tol; | ||
} | ||
} | ||
|
||
System.out.println("Day-total " + day_tol); | ||
if (dt > Integer.parseInt(sharedPreferences.getString(DLIMIT,"0"))){ | ||
if (day_tol > Integer.parseInt(sharedPreferences.getString(DLIMIT,"0"))){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
',' is not followed by whitespace.
int am1 = Integer.parseInt(amm); | ||
day_tol = am1 + day_tol; | ||
} | ||
} | ||
|
||
System.out.println("Day-total " + day_tol); | ||
if (dt > Integer.parseInt(sharedPreferences.getString(DLIMIT,"0"))){ | ||
if (day_tol > Integer.parseInt(sharedPreferences.getString(DLIMIT,"0"))){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WhitespaceAround: '{' is not preceded with whitespace.
Codecov Report
@@ Coverage Diff @@
## main #88 +/- ##
=======================================
Coverage 90.24% 90.24%
=======================================
Files 31 31
Lines 13608 13608
Branches 131 131
=======================================
Hits 12281 12281
Misses 1284 1284
Partials 43 43
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
No description provided.