Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
avazirna committed Oct 23, 2024
1 parent 019cd2d commit dec7568
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/org/commcare/activities/FormEntryActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ private void handleFormLoadCompletion(AndroidFormController fc) {
// InterruptedFormState null check is important to ensure backward compatibility
String localeKey =
(fc.getInterruptedFormState() == null
|| fc.getInterruptedFormState().getInterruptedDueToSessionExpiration())
|| fc.getInterruptedFormState().isInterruptedDueToSessionExpiration())
? "form.entry.restart.after.expiration" : "form.entry.restart.after.session.pause";
Toast.makeText(this, Localization.get(localeKey), Toast.LENGTH_LONG).show();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public FormIndex getFormIndex() {
return formIndex;
}

public boolean getInterruptedDueToSessionExpiration(){
public boolean isInterruptedDueToSessionExpiration(){
return interruptedDueToSessionExpiration;
}

Expand Down

0 comments on commit dec7568

Please sign in to comment.