Skip to content

Commit

Permalink
Fix - [:mifospay] Updated splash screen icon
Browse files Browse the repository at this point in the history
Updated the splash screen icon to use the correct drawable and adjusted the size of the icon in the drawable
.
Also, disabled the `ResourceName` lint rule until the libraries are shipped to Maven.
Finally, updated the CI workflow to include the dependency guard job in the build job's needs.
  • Loading branch information
niyajali committed Aug 25, 2024
1 parent 124d1e2 commit 99e351a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/master_dev_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:

- name: Prevent updating Dependency Guard baselines if this is a fork
id: checkfork_dependencyguard
continue-on-error: true
if: steps.dependencyguard_verify.outcome == 'failure' && github.event.pull_request.head.repo.full_name != github.repository
run: |
echo "::error::Dependency Guard failed, please update baselines with: ./gradlew dependencyGuardBaseline" && exit 1
Expand All @@ -99,7 +98,6 @@ jobs:
disable_globbing: true
commit_message: "🤖 Updates baselines for Dependency Guard"


tests_and_lint:
needs: setup
runs-on: ubuntu-latest
Expand All @@ -122,7 +120,7 @@ jobs:
**/build/test-results/test*UnitTest/**.xml
build:
needs: [ checks, tests_and_lint ]
needs: [ checks, dependency_guard, tests_and_lint ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ private fun Lint.configure() {
xmlReport = true
checkDependencies = true
abortOnError = false
// Disable this rule until we ship the libraries to some maven.
disable += "ResourceName"
baseline = File("lint-baseline.xml")
explainIssues = true
htmlReport = true
Expand Down
4 changes: 2 additions & 2 deletions mifospay/src/main/res/drawable/bg_splash_12.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</item>

<item
android:width="100dp"
android:height="100dp"
android:width="160dp"
android:height="160dp"
android:drawable="@drawable/splash_icon"
android:gravity="center" />
</layer-list>
2 changes: 1 addition & 1 deletion mifospay/src/main/res/values/splash.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<resources>
<style name="Theme.MifosSplash" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">#FFFDFDF5</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/splash_icon</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/bg_splash_12</item>
<item name="postSplashScreenTheme">@style/Theme.SplashScreen</item>
<item name="windowSplashScreenAnimationDuration">10</item>
</style>
Expand Down

0 comments on commit 99e351a

Please sign in to comment.