Skip to content

Commit

Permalink
updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahroz16 committed Oct 25, 2023
1 parent cf4b78a commit 37ff6fc
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 @@ -58,6 +58,7 @@ class Queue : GistListener {
GistSdk.getUserToken()?.let { userToken ->
addHeader(
NetworkUtilities.USER_TOKEN_HEADER,
// The NO_WRAP flag will omit all line terminators (i.e., the output will be on one long line).
Base64.encodeToString(userToken.toByteArray(), Base64.NO_WRAP)
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class GistModalActivity : AppCompatActivity(), GistListener, GistViewListener {
finish()
}

// Disable back button for persistent messages
// Update back button to handle in-app message behavior, disable back press for persistent messages, true otherwise
val onBackPressedCallback = object : OnBackPressedCallback(isPersistentMessage()) {
override fun handleOnBackPressed() {}

Check warning on line 68 in messaginginapp/src/main/java/io/customer/messaginginapp/gist/presentation/GistModalActivity.kt

View check run for this annotation

Codecov / codecov/patch

messaginginapp/src/main/java/io/customer/messaginginapp/gist/presentation/GistModalActivity.kt#L67-L68

Added lines #L67 - L68 were not covered by tests
}
Expand Down

0 comments on commit 37ff6fc

Please sign in to comment.