Skip to content

Conversation

@SajeeTechi
Copy link
Contributor

No description provided.

Introduces the `EventServiceState.closed` state to manage permanent connection termination scenarios, preventing unnecessary reconnection attempts.

Key Changes:
* **Events Service (`events.dart`):**
    * Adds `EventServiceState.closed` to the enum.
    * Modifies the connection error handling (`connect`) to check for a `WebSocketException` containing "404". If a 404 is detected, the service transitions to `closed` state and aborts reconnection.
* **Wallet Logic (`logic.dart`):**
    * Adds a check in `handleInitialLoad` to immediately transition to `EventServiceState.closed` if the loaded `communityConfig.community.hidden` flag is true, preventing the service from attempting to connect to a hidden community.
* **UI Cleanup (`screen.dart`):**
    * Removes unused state variable `eventServiceIntentionalDisconnect`.
    * Updates logic to calculate `isClosed` based on the new state.
- Enhanced Drag-to-Dismiss Experience
- Responsive Dragging
- Smooth Snap-Back/Dismissal:
- Reduced Dismissal Threshold:
- Layout Fix
@SajeeTechi SajeeTechi requested a review from kevtechi December 19, 2025 09:37
@SajeeTechi SajeeTechi self-assigned this Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants