Skip to content

Commit

Permalink
Made a change
Browse files Browse the repository at this point in the history
  • Loading branch information
manssing committed Jan 24, 2025
1 parent f896b5b commit 51ad79e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void onClick(View v) {
findViewById(R.id.demo_button).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
((ShakyApplication) getApplication()).getShaky().startFeedbackFlow(null);
((ShakyApplication) getApplication()).getShaky().startFeedbackFlow();
}
});

Expand Down
9 changes: 8 additions & 1 deletion shaky/src/main/java/com/linkedin/android/shaky/Shaky.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,14 @@ public static Shaky with(@NonNull Application application,
}

/**
* Start shaky manually.
* Start the shaky feedback flow manually.
*/
public void startFeedbackFlow() {
startFeedbackFlow(null);
}

/**
* Start shaky manually for a custom flow.
*
* @param action the flow to start. If null, starts the feedback flow by default. Otherwise
* starts the custom flow (if valid).
Expand Down

0 comments on commit 51ad79e

Please sign in to comment.