Skip to content

Commit

Permalink
Updated code to beta changes
Browse files Browse the repository at this point in the history
Change-Id: If42aeb1b14000cb3415748d8982652131122a1f1
  • Loading branch information
Niharika Arora committed Jul 25, 2023
1 parent 0d91e43 commit 8e0fc04
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CredentialManager/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ android {
}

dependencies {

implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class MainActivity : AppCompatActivity(), MainFragmentCallback, HomeFragmentCall

binding = ActivityMainBinding.inflate(layoutInflater)
setContentView(binding.root)

DataProvider.initSharedPref(applicationContext)

if (DataProvider.isSignedIn()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class MainFragment : Fragment() {
binding.signUp.setOnClickListener {
listener.signup()
}

binding.signIn.setOnClickListener {
listener.signIn()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class SignInFragment : Fragment() {
listOf(
getPublicKeyCredentialOption,
getPasswordOption
), preferImmediatelyAvailableCredentials = true
)
)
)
} catch (e: Exception) {
Expand Down

0 comments on commit 8e0fc04

Please sign in to comment.