Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dual UI system #1045

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

roihershberg
Copy link
Collaborator

@roihershberg roihershberg commented May 14, 2022

  • Duplicate MainActivity, settings fragment and realted files.
  • Add a setting to toggle between UIs and an activity launcher that launches the corresponding activity.
  • Resolve DI and ToxService's notification intent
  • Change the new theme to be based on material design.

@robinlinden
Copy link
Collaborator

I don't think we should preemptively duplicate the majority of the codebase. Why is it needed?

@roihershberg
Copy link
Collaborator Author

roihershberg commented May 15, 2022

It is for the freedom of changing everything that is related to UI. We need another MainActivity so we can change the nav host however we like as well as all the fragments.
What would you do different?

Edit: Maybe we can indeed just duplicate things one by one when it is needed.

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

Found 11 potential problems in the proposed changes. Check the Files changed tab for more details.

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

Found 11 potential problems in the proposed changes. Check the Files changed tab for more details.

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

Found 11 potential problems in the proposed changes. Check the Files changed tab for more details.

@roihershberg
Copy link
Collaborator Author

You can use the "Compare with" functionality in Android Studio to see what changes have been made after I have duplicated a file. For example, you can select in the project tree both SettingsFragment.kt via the Ctrl key and then click Ctrl+D and you will see what I have changed.

* Duplicate MainActivity, settings fragment and realted files.
* Add a setting to toggle between UIs and an activity launcher that
  launches the corresponding activity.
* Resolve DI and ToxService's notification intent
* Change the new theme to be based on material design.
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

Found 11 potential problems in the proposed changes. Check the Files changed tab for more details.

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.

None yet

2 participants