Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

333-fix_installbutton_paidapp

Hasib Prince requested to merge 333-fix_installbutton_paidapp into main

Summary

This MR fixes the issue with the install button for the paid app. Here, the issue was described.

Technical info

Now, the App list page passes a boolean value about app is purchased or not to the app detail page through navargs. Then, After fetching application data, the boolean value is checked, if it's not available, then the app fetches the purchase info. After getting the response, the install button is updated according to the response. A loader is shown on the install button while fetching the purchase information.

Screenshots

Shadow knight is the purchased app here.

screen-20241004-030317

Issue

backlog/-/issues/2690

Summary by CodeRabbit

  • New Features

    • Introduced a progress bar to indicate installation progress.
    • Enhanced navigation by including purchase status in application transitions.
    • Added functionality to track and display the purchase status of applications.
    • New parameter for purchase status added to the application fragment navigation.
  • Bug Fixes

    • Improved handling of application installation statuses and visibility of UI elements based on purchase status.
  • Refactor

    • Enhanced logic for managing install button states and application loading parameters.
    • Streamlined parameter handling in the application view model.

These changes improve user experience during application installations and provide clearer feedback on the process.

Edited by CodeRabbitAI

Merge request reports

Loading