Skip to content
This repository was archived by the owner on Jul 17, 2023. It is now read-only.

Added Config Button For Action Bar - #6

Open
khanshoaib3 wants to merge 1 commit into
LuisSanchez-Dev:masterfrom
khanshoaib3:1.17
Open

Added Config Button For Action Bar#6
khanshoaib3 wants to merge 1 commit into
LuisSanchez-Dev:masterfrom
khanshoaib3:1.17

Conversation

@khanshoaib3

Copy link
Copy Markdown
Contributor

Overview

  • Added new button in the Accessibility Plus Configuration menu to toggle the action bar narration.
  • The config.json file now resets itself when there is an error in the config.json file which causes crashes, like when adding new variables.

Changes

  • Config.java = Added a variable ACTION_BAR_KEY. Added a resetData function that stores the default values of variables into config.json file. Added this method to get() function to prevent crash and reset data when that happens.
  • ConfigGui.java = Added the actionBarButton to the config menu.
  • ActionBarInject.java = Added if clause to narrate action bar if it is enabled.
  • en_us.json = Added the translation key for action bar.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant