Skip to content

Commit

Permalink
Removed and added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Saifuddin53 committed Oct 10, 2024
1 parent 26379d6 commit e373dea
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class HomeActivity : ComponentActivity() {
enableEdgeToEdge(
statusBarStyle = SystemBarStyle.auto(
Color.TRANSPARENT,
Color.TRANSPARENT,
Color.TRANSPARENT
) { darkTheme },
navigationBarStyle = SystemBarStyle.auto(
lightScrim.toArgb(),
Expand Down
9 changes: 9 additions & 0 deletions androidApp/src/main/res/values-night/color.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
-->
<resources>
<color name="status_bar">#FF1B1B1F</color> // dark/color.xml
</resources>
9 changes: 9 additions & 0 deletions androidApp/src/main/res/values-night/theme.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
-->
<resources xmlns:tools="http://schemas.android.com/tools">

<style name="NightAdjusted.Theme" parent="android:Theme.Material.NoActionBar">
Expand Down
18 changes: 0 additions & 18 deletions androidApp/src/main/res/values/splash.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,6 @@
See https://github.com/openMF/mobile-mobile/blob/master/LICENSE.md
-->
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- <style name="Theme.MifosSplash" parent="Theme.SplashScreen">-->
<!-- <item name="windowSplashScreenBackground">#FFFDFDF5</item>-->
<!-- <item name="windowSplashScreenAnimatedIcon">@drawable/splash_icon</item>-->
<!-- <item name="postSplashScreenTheme">@style/AppTheme</item>-->
<!-- <item name="windowSplashScreenAnimationDuration">10</item>-->
<!-- </style>-->

<!-- <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">-->
<!-- <item name="android:statusBarColor">@color/background</item>-->
<!-- <item name="android:windowLightStatusBar">true</item>-->
<!-- <item name="android:windowContentOverlay">@null</item>-->
<!-- <item name="android:windowIsTranslucent">true</item>-->
<!-- </style>-->

<!-- <style name="NightAdjusted.Theme" parent="android:Theme.Material.Light.NoActionBar">-->
<!-- <item name="android:statusBarColor">@color/status_bar</item>-->
<!-- </style>-->

<!-- Allows us to override night specific attributes in the
values-night folder. -->
<style name="NightAdjusted.Theme" parent="android:Theme.Material.Light.NoActionBar">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ val GreenSuccess = Color(0xff14c416)
val LightSurfaceTint = Color(0xFF325CA8)
val DarkSurfaceTint = Color(0xFFAEC6FF)

val lightScrim = Color(0x80FFFFFF) // Light scrim with 50% opacity
val darkScrim = Color(0x80000000) // Dark scrim with 50% opacity
val lightScrim = Color(0x80FFFFFF) // Light scrim with 50% opacity
val darkScrim = Color(0x80000000) // Dark scrim with 50% opacity

0 comments on commit e373dea

Please sign in to comment.