Skip to content

Commit

Permalink
Convert boolean value in profile page to yes/no #263 (#275)
Browse files Browse the repository at this point in the history
* As assigned, the values of true or false has been changed to Yes or No as per user's attributes.

* Convert boolean value in Profile Page to Yes/No #263
  • Loading branch information
Imsurajr authored Nov 8, 2024
1 parent cba195a commit 42fcc08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
3 changes: 2 additions & 1 deletion lib/ui/views/profile/profile_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,11 @@ class _ProfileViewState extends State<ProfileView> {
'Educational Institute',
_attrs?.educationalInstitute,
),

if (_model.isLoggedIn && _model.isPersonalProfile)
_buildProfileComponent(
'Subscribed to mails',
_attrs?.subscribed.toString(),
_attrs?.subscribed == true ? "Yes" : "No",
),
_buildEditProfileButton()
],
Expand Down

0 comments on commit 42fcc08

Please sign in to comment.