-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
base: master
Are you sure you want to change the base?
Add dual UI system #1045
Conversation
roihershberg
commented
May 14, 2022
•
edited
Loading
edited
- 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.
I don't think we should preemptively duplicate the majority of the codebase. Why is it needed? |
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. Edit: Maybe we can indeed just duplicate things one by one when it is needed. |
bcba10d
to
7ec4515
Compare
There was a problem hiding this 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.
7ec4515
to
c214d3e
Compare
There was a problem hiding this 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.
c214d3e
to
0fab261
Compare
There was a problem hiding this 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.
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.
0fab261
to
61e2e47
Compare
There was a problem hiding this 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.