Skip to content

Commit

Permalink
no auth login added
Browse files Browse the repository at this point in the history
  • Loading branch information
kotlindevs committed Jan 6, 2025
1 parent 55cf70c commit 112060c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions .idea/appInsightsSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ class MainActivity : AppCompatActivity() {
}
}

binding.noAuth?.setOnClickListener{
startActivity(Intent(this@MainActivity, DopamineHome::class.java))
}

binding.phoneNumberLogin.setOnClickListener{
startActivity(Intent(applicationContext, PhoneNumberAuthentication::class.java))
}
Expand Down
13 changes: 13 additions & 0 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@
android:layout_width="match_parent"
android:layout_height="48dp"/>

<com.google.android.material.button.MaterialButton
android:id="@+id/noAuth"
android:drawableLeft="@drawable/default_user"
android:paddingLeft="12dp"
android:fontFamily="@font/gotham"
android:text="Free Login"
style="@style/Widget.Material3.Button.OutlinedButton"
android:layout_marginStart="34dp"
android:layout_marginEnd="34dp"
android:layout_marginBottom="6dp"
android:layout_width="match_parent"
android:layout_height="48dp"/>

</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 112060c

Please sign in to comment.