Skip to content

Commit

Permalink
refactor #2458: registration screen to compose
Browse files Browse the repository at this point in the history
  • Loading branch information
PratyushSingh07 authored and therajanmaurya committed Jan 17, 2024
1 parent a3179d5 commit e3e2667
Show file tree
Hide file tree
Showing 12 changed files with 537 additions and 316 deletions.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ dependencies {

//Country Code picker
implementation "com.hbb20:ccp:$rootProject.countryCodePicker"
implementation 'com.github.ParveshSandila:CountryCodeChooser:1.0'

//Square dependencies
implementation("com.squareup.retrofit2:retrofit:$rootProject.retrofitVersion") {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
android:windowSoftInputMode="adjustResize" />

<activity
android:name="org.mifos.mobile.ui.activities.RegistrationActivity"
android:name="org.mifos.mobile.ui.registration.RegistrationActivity"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="adjustResize" />

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import org.mifos.mobile.ui.login.LoginActivity
import org.mifos.mobile.ui.fragments.base.BaseFragment
import org.mifos.mobile.utils.RegistrationUiState
import org.mifos.mobile.utils.Toaster
import org.mifos.mobile.viewModels.RegistrationViewModel
import org.mifos.mobile.ui.registration.RegistrationViewModel

/**
* Created by dilpreet on 31/7/17.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import org.mifos.mobile.MifosSelfServiceApp.Companion.context
import org.mifos.mobile.R
import org.mifos.mobile.core.ui.theme.MifosMobileTheme
import org.mifos.mobile.ui.activities.PassCodeActivity
import org.mifos.mobile.ui.activities.RegistrationActivity
import org.mifos.mobile.ui.registration.RegistrationActivity
import org.mifos.mobile.ui.activities.base.BaseActivity
import org.mifos.mobile.utils.Constants
import org.mifos.mobile.utils.LoginUiState
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package org.mifos.mobile.ui.activities
package org.mifos.mobile.ui.registration

import android.content.DialogInterface
import android.os.Bundle
import org.mifos.mobile.R
import org.mifos.mobile.databinding.ActivityRegistrationBinding
import org.mifos.mobile.ui.activities.base.BaseActivity
import org.mifos.mobile.ui.fragments.RegistrationFragment
import org.mifos.mobile.ui.registration.RegistrationFragment
import org.mifos.mobile.utils.MaterialDialog

class RegistrationActivity : BaseActivity() {
Expand Down
Loading

0 comments on commit e3e2667

Please sign in to comment.