Skip to content

Commit

Permalink
Refactor- [:feature:third-party-transfer] Apply & Fix Detekt, Ktlint …
Browse files Browse the repository at this point in the history
…Rules (#2690)

Jira Tasks - [MM-78](https://mifosforge.jira.com/browse/MM-78)
  • Loading branch information
niyajali authored Sep 2, 2024
1 parent 6e237c3 commit aed62ab
Show file tree
Hide file tree
Showing 13 changed files with 238 additions and 216 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ import org.mifos.mobile.feature.savings.navigation.navigateToSavingsMakeTransfer
import org.mifos.mobile.feature.savings.navigation.savingsNavGraph
import org.mifos.mobile.feature.settings.navigation.navigateToSettings
import org.mifos.mobile.feature.settings.navigation.settingsNavGraph
import org.mifos.mobile.feature.third.party.transfer.third_party_transfer.navigation.navigateToThirdPartyTransfer
import org.mifos.mobile.feature.third.party.transfer.third_party_transfer.navigation.thirdPartyTransferNavGraph
import org.mifos.mobile.feature.third.party.transfer.navigation.navigateToThirdPartyTransfer
import org.mifos.mobile.feature.third.party.transfer.navigation.thirdPartyTransferNavGraph
import org.mifos.mobile.feature.transaction.navigation.navigateToRecentTransaction
import org.mifos.mobile.feature.transaction.navigation.recentTransactionNavGraph
import org.mifos.mobile.feature.transfer.process.navigation.navigateToTransferProcessScreen
Expand Down Expand Up @@ -112,7 +112,7 @@ fun RootNavGraph(
updatePasswordNavGraph(navigateBack = navController::popBackStack)

thirdPartyTransferNavGraph(
navController = navController,
navigateBack = navController::popBackStack,
addBeneficiary = navController::navigateToAddBeneficiaryScreen,
reviewTransfer = navController::navigateToTransferProcessScreen
)
Expand Down
8 changes: 0 additions & 8 deletions feature/settings/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,5 @@ android {
}

dependencies {
implementation(projects.core.ui)
implementation(projects.core.common)
implementation(projects.core.model)
implementation(projects.core.data)
implementation(libs.androidx.appcompat)

testImplementation(libs.junit)
androidTestImplementation(libs.androidx.test.ext.junit)
androidTestImplementation(libs.espresso.core)
}
20 changes: 10 additions & 10 deletions feature/third-party-transfer/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* Copyright 2024 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* See https://github.com/openMF/mobile-mobile/blob/master/LICENSE.md
*/
plugins {
alias(libs.plugins.mifos.android.feature)
alias(libs.plugins.mifos.android.library.compose)
Expand All @@ -9,13 +18,4 @@ android {
namespace = "org.mifos.mobile.feature.third.party.transfer"
}

dependencies {
implementation(projects.core.ui)
implementation(projects.core.common)
implementation(projects.core.model)
implementation(projects.core.data)

testImplementation(libs.junit)
androidTestImplementation(libs.androidx.test.ext.junit)
androidTestImplementation(libs.espresso.core)
}
dependencies { }

This file was deleted.

9 changes: 9 additions & 0 deletions feature/third-party-transfer/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2024 Mifos Initiative
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
See https://github.com/openMF/mobile-mobile/blob/master/LICENSE.md
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

</manifest>
Loading

0 comments on commit aed62ab

Please sign in to comment.