Skip to content

Modularization Step-2#12

Open
extractive-mana-pulse wants to merge 1 commit intomainfrom
issue/modularization-2-and-default-screen-with-camouflage
Open

Modularization Step-2#12
extractive-mana-pulse wants to merge 1 commit intomainfrom
issue/modularization-2-and-default-screen-with-camouflage

Conversation

@extractive-mana-pulse
Copy link
Copy Markdown
Owner

In this mart of issue of the modularization. we've done fixing code and implementing camouflage for status bar which is not fully done yet. so after merging this pr, next step going to be fixing camouflage.

Copy link
Copy Markdown
Owner Author

@extractive-mana-pulse extractive-mana-pulse left a comment

Choose a reason for hiding this comment

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

Need to rework all these pending comments

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Fix dependencies. use only needed ones and get rid of all others

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Get Rid of comments. fix dependencies if needed

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Hard coded values, fix them

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Hardcoded values, function visibility keyword.

Comment on lines +68 to +69
is LoginState.Idle -> {}
is LoginState.Loading -> {}
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

instead leaving it empty, make it else -> Unit

Comment on lines +114 to +119
Box(
modifier = Modifier.fillMaxSize(),
contentAlignment = Alignment.Center
) {
CircularProgressIndicator()
}
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Come up with loading extension

Comment on lines +126 to +130
Toast.makeText(
context,
"This page is not available yet!",
Toast.LENGTH_SHORT
).show()
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

use extension of a toast

} else {
SettingsContent(
onLogoutClick = {
loginViewModel.logoutUser(refreshToken = refreshToken ?: "")
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Fix the action, do MVI

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

polish the code

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

re design this vm from scratch

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.

1 participant