Skip to content

Commit

Permalink
fix facebook login
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipthelen committed Aug 23, 2018
1 parent b944478 commit b8f51de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Habitica/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.habitrpg.android.habitica"
android:versionCode="1987"
android:versionCode="1989"
android:versionName="1.4.5"
android:screenOrientation="portrait"
android:installLocation="auto" >
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ class LoginActivity : BaseActivity(), Consumer<UserAuthResponse> {
}

override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
super.onActivityResult(requestCode, resultCode, intent)
callbackManager.onActivityResult(requestCode, resultCode, intent)
val scanResult = IntentIntegrator.parseActivityResult(requestCode, resultCode, intent)
super.onActivityResult(requestCode, resultCode, data)
callbackManager.onActivityResult(requestCode, resultCode, data)
val scanResult = IntentIntegrator.parseActivityResult(requestCode, resultCode, data)
if (scanResult != null) {
try {
Log.d("scanresult", scanResult.contents)
Expand Down

0 comments on commit b8f51de

Please sign in to comment.