Skip to content

Allow restoring hidden translate bar#379

Open
redactdeveloper wants to merge 1 commit into
AyuGram:devfrom
redactdeveloper:fix-translate-hide-reversal
Open

Allow restoring hidden translate bar#379
redactdeveloper wants to merge 1 commit into
AyuGram:devfrom
redactdeveloper:fix-translate-hide-reversal

Conversation

@redactdeveloper

Copy link
Copy Markdown

Summary

  • keep the peer menu restore action available whenever translations are hidden for that peer
  • remove the dependency on a loaded history, detected source language, or current translated state
  • use the existing "Show Translate Button" label for the restore action

This makes the hide action reversible from the peer menu and addresses #291.

Fixes #291.

Verification

  • Ran git diff --check
  • Full AyuGram Desktop build was not run locally because this checkout does not include the full dependency/build environment.

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.

hide translate button reversal

1 participant