Skip to content

Commit a9f0fdb

Browse files
committed
Fix indentation in RxJava sample
1 parent 001e54c commit a9f0fdb

File tree

1 file changed

+14
-13
lines changed
  • src/fragments/lib/auth/native_common/signin_next_steps

1 file changed

+14
-13
lines changed

src/fragments/lib/auth/native_common/signin_next_steps/common.mdx

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,19 +114,20 @@ try {
114114

115115
```java
116116
RxAmplify.Auth.confirmSignIn(
117-
"TOTP confirmation code").subscribe(
118-
result -> {
119-
if (result.isSignedIn()) {
120-
Log.i("AuthQuickstart", "Confirm signIn succeeded");
121-
} else {
122-
Log.i("AuthQuickstart", "Confirm sign in not complete. There might be additional steps: " + result.getNextStep());
123-
// Switch on the next step to take appropriate actions.
124-
// If `signInResult.isSignedIn` is true, the next step
125-
// is 'done', and the user is now signed in.
126-
}
127-
},
128-
error -> Log.e("AuthQuickstart", "Confirm sign in failed: " + error)
129-
);
117+
"TOTP confirmation code"
118+
).subscribe(
119+
result -> {
120+
if (result.isSignedIn()) {
121+
Log.i("AuthQuickstart", "Confirm signIn succeeded");
122+
} else {
123+
Log.i("AuthQuickstart", "Confirm sign in not complete. There might be additional steps: " + result.getNextStep());
124+
// Switch on the next step to take appropriate actions.
125+
// If `signInResult.isSignedIn` is true, the next step
126+
// is 'done', and the user is now signed in.
127+
}
128+
},
129+
error -> Log.e("AuthQuickstart", "Confirm sign in failed: " + error)
130+
);
130131
```
131132
</Block>
132133
</BlockSwitcher>

0 commit comments

Comments
 (0)