Skip to content

feat: Add Home Screen Quick Action for "Toggle Jailbreak Hide State" #33

@despair089

Description

@despair089

Description

I would like to suggest adding a Quick Action (3D Touch / Haptic Touch menu) to the home screen icon. This would allow users to quickly toggle the jailbreak hide state without having to navigate through the app's settings menu.

Proposed Changes

Info.plist

Added UIApplicationShortcutItems for the "Toggle Hide State" action.

SceneDelegate.swift

Implemented windowScene(_:performActionFor:completionHandler:) to catch the shortcut action and trigger the toggle logic.

Rationale

Quick Actions provide a convenient way for users to access frequently used app features directly from the home screen. This would significantly improve the user experience by reducing the number of taps needed to toggle the jailbreak hide state.

Implementation Details

The implementation would involve:

  1. Adding shortcut items configuration in Info.plist
  2. Implementing the scene delegate method to handle shortcut actions
  3. Integration with existing jailbreak hide toggle functionality

Testing

The feature should be tested on devices supporting 3D Touch and Haptic Touch interactions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions