-
Notifications
You must be signed in to change notification settings - Fork 2
Adding the settings screen #45
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
Conversation
import androidx.compose.foundation.layout.wrapContentHeight | ||
import androidx.compose.foundation.lazy.LazyColumn | ||
import androidx.compose.material3.MaterialTheme | ||
import androidx.compose.material3.ModalDrawerSheet |
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.
WIP: this is working @andhikayuana but I would prefer a more elegant view/screen refresh
val languageCode: String = Language.ENGLISH.code, | ||
val currency: CurrencyEntity = CurrencyEntity( | ||
"USD", | ||
"USD", |
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.
added the symbol parameter
try { | ||
JSONObject tmpObj = (JSONObject) arr.get(i); | ||
tmp.name = tmpObj.getString("code"); | ||
tmp.name = tmpObj.getString("name"); |
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.
fix bug
- Added the custom details - Added the Action rows
Added currency parts Fixed bug on name and code
ed70321
to
bffe3e0
Compare
Added localization Sync portion Partial Event @andhikayuana : need help hooking up the Sync func
added localizations
@andhikayuana need connection to all buttons
Super quick! Thanks @andhikayuana |
Overview
The settings screen is really important to users and the old code broke that functionality into a few different locations. This was not maintainalbe and the UI was quite ugly.
This is a migration to move all of that into a single LazyColumn in an view where a tap on the
hamburger
will slide the disable and darken the main view to 10- 20 % and the Settings Screen is showing.Goals
#Figma Reference
https://www.figma.com/design/9IP5iHEq0jxxujWA9sg2n2/brainwallet-app-ui-ux?node-id=1954-8087&t=RE51XGgxUddTvOi5-1