Skip to content

Conversation

@piotr-iohk
Copy link
Collaborator

Description

Small adjustment/fix to have consistent behavior in bitkit-android and bitkit-ios. Also bitkit RN behaves currently the same.
After editing a widget the home screen now exits edit mode (previously stayed enabled on Android).

Preview

Before:

before.webm

After:

after.webm

QA Notes

synonymdev/bitkit-e2e-tests#43

@piotr-iohk piotr-iohk self-assigned this Nov 6, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables users to exit widget edit mode when they click to edit a specific widget's settings. The change allows the user interface to return to normal viewing mode before navigating to the widget preview/settings screen.

  • Changed disableEditMode() from private to public in HomeViewModel
  • Added call to disableEditMode() when clicking to edit a specific widget

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
app/src/main/java/to/bitkit/ui/screens/wallets/HomeViewModel.kt Made disableEditMode() function public to allow it to be called from the UI layer
app/src/main/java/to/bitkit/ui/screens/wallets/HomeScreen.kt Added disableEditMode() call when clicking edit widget settings to exit edit mode before navigation

@piotr-iohk piotr-iohk merged commit b84158d into master Nov 6, 2025
17 checks passed
@piotr-iohk piotr-iohk deleted the fix/no-edit-mode-after-widget-update branch November 6, 2025 16:00
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.

3 participants