Thomas Farstrike 6568d33013 refactor(appstore): extract DRY helpers and consolidate duplicated code
- Extract _apply_default_styles() helper to eliminate 12+ repeated widget style calls
- Extract _add_click_handler() helper to consolidate 6 repeated event registrations
- Consolidate backend config getters into single _get_backend_config() method
- Simplify badgehub_app_to_mpos_app() with safer .get() defaults instead of try-except
- Extract _cleanup_temp_file(), _update_progress(), _show_progress_bar(), _hide_progress_bar() helpers
- Refactor uninstall_app() and download_and_install() to use new progress helpers
- Use getattr() for cleaner attribute checking

Eliminates ~85 lines of duplicated logic while preserving all functionality,
comments, and debug prints. Improves maintainability and code clarity.
2026-01-10 20:49:25 +01:00
2026-01-07 15:36:06 +01:00
2025-12-02 19:09:35 +01:00
2025-11-20 22:22:55 +01:00
2026-01-10 08:39:17 +01:00
2026-01-07 15:14:31 +01:00
2025-12-08 12:13:39 +01:00
2025-11-29 13:04:52 +01:00
2025-06-15 09:09:33 +02:00
2025-10-24 17:57:04 +02:00
S
Description
No description provided
Readme MIT 4.2 MiB
Languages
Python 75.3%
C 11.5%
JavaScript 7.2%
HTML 3.5%
Shell 1.4%
Other 1%