Skip to content

Commit

Permalink
Merge pull request #1433 from dimagi/jt/sync-screen-session-status
Browse files Browse the repository at this point in the history
Sync screen session status
  • Loading branch information
Jtang-1 authored Sep 11, 2024
2 parents 98cdda4 + dc30183 commit ff1e7c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cli/java/org/commcare/util/screen/SyncScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ public void updateSessionOnSuccess() {
sessionWrapper.addExtraToCurrentFrameStep(EXTRA_POST_SUCCESS, true);
}

public Boolean isPostAlreadyAttempted() {
return sessionWrapper.getCurrentFrameStepExtra(EXTRA_POST_SUCCESS) != null ;
}

@Override
public String[] getOptions() {
return new String[0];
Expand Down

0 comments on commit ff1e7c8

Please sign in to comment.