Skip to content

Conversation

kcw-grunt
Copy link
Collaborator

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

  • Each review and contribute to understand the structure
  • Check in as needed
  • Make PR a breeze

#Figma Reference
https://www.figma.com/design/9IP5iHEq0jxxujWA9sg2n2/brainwallet-app-ui-ux?node-id=1954-8087&t=RE51XGgxUddTvOi5-1

Settings Screen
Settings View

@kcw-grunt kcw-grunt added the enhancement New feature or request label Mar 4, 2025
@kcw-grunt kcw-grunt changed the title WIP: Adding structure to the settings screen Adding the settings screen Mar 4, 2025
import androidx.compose.foundation.layout.wrapContentHeight
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.ModalDrawerSheet
Copy link
Collaborator Author

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",
Copy link
Collaborator Author

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");
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fix bug

@andhikayuana andhikayuana force-pushed the feat/add-settings-view-issue-93 branch from ed70321 to bffe3e0 Compare March 12, 2025 08:32
@kcw-grunt kcw-grunt marked this pull request as ready for review March 19, 2025 08:26
@kcw-grunt
Copy link
Collaborator Author

Super quick! Thanks @andhikayuana

@kcw-grunt kcw-grunt merged commit 6369d2c into develop Mar 19, 2025
@kcw-grunt kcw-grunt deleted the feat/add-settings-view-issue-93 branch March 26, 2025 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants