forked from Stremio/stremio-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Stremio#725 Add functionality to disable and enable add-ons without uninstalling them. * **`src/common/AddonDetailsModal/AddonDetailsModal.js`** - Add "Disable" button for installed add-ons. - Add "Enable" button for disabled add-ons. - Modify `modalButtons` to include the new buttons. * **`src/routes/Addons/Addon/Addon.js`** - Add "Disable" button for installed add-ons. - Add "Enable" button for disabled add-ons. - Modify `toggleButtonOnClick` function to handle disabling and enabling add-ons. - Update PropTypes to include `disabled`. * **`src/services/Core/Core.js`** - Add method to disable an add-on. - Add method to enable an add-on.
- Loading branch information
Showing
3 changed files
with
93 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters