Skip to content

Commit

Permalink
implemented requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
keshriAyushh authored and therajanmaurya committed Dec 28, 2023
1 parent d25746d commit 6b7a334
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ class AboutUsFragment : BaseFragment() {
setViewCompositionStrategy(ViewCompositionStrategy.DisposeOnViewTreeLifecycleDestroyed)
setContent {
MifosMobileTheme {
Scaffold {
AboutUsScreen(viewModel)
}
AboutUsScreen(viewModel)
}
}
}
Expand All @@ -56,18 +54,23 @@ class AboutUsFragment : BaseFragment() {
AboutUsListItemId.OFFICE_WEBSITE -> {
startActivity(WEBSITE_LINK)
}

AboutUsListItemId.LICENSES -> {
startActivity(LICENSE_LINK)
}

AboutUsListItemId.PRIVACY_POLICY -> {
startActivity(PrivacyPolicyActivity::class.java)
}

AboutUsListItemId.SOURCE_CODE -> {
startActivity(SOURCE_CODE_LINK)
}

AboutUsListItemId.LICENSES_STRING_WITH_VALUE -> {
startActivity(OssLicensesMenuActivity::class.java)
}

else -> {}
}
}
Expand Down
3 changes: 0 additions & 3 deletions app/src/main/java/org/mifos/mobile/ui/about/AboutUsScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ import org.mifos.mobile.core.ui.component.MifosItemCard
import org.mifos.mobile.ui.enums.AboutUsListItemId
import java.util.*

@SuppressWarnings("UnusedMaterial3ScaffoldPaddingParameter")
@Composable
fun AboutUsScreen(viewModel: AboutUsViewModel) {


LazyColumn(
modifier = Modifier
.fillMaxSize()
Expand Down

0 comments on commit 6b7a334

Please sign in to comment.