diff --git a/android/build.gradle b/android/build.gradle index 838c3394..cb1f5eee 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -26,6 +26,6 @@ subprojects { project.evaluationDependsOn(':app') } -task clean(type: Delete) { +tasks.register("clean", Delete) { delete rootProject.buildDir } diff --git a/lib/ui/views/profile/profile_view.dart b/lib/ui/views/profile/profile_view.dart index 6b7bb7b8..fd1e4557 100644 --- a/lib/ui/views/profile/profile_view.dart +++ b/lib/ui/views/profile/profile_view.dart @@ -151,10 +151,11 @@ class _ProfileViewState extends State { 'Educational Institute', _attrs?.educationalInstitute, ), + if (_model.isLoggedIn && _model.isPersonalProfile) _buildProfileComponent( 'Subscribed to mails', - _attrs?.subscribed.toString(), + _attrs?.subscribed == true ? "Yes" : "No", ), _buildEditProfileButton() ],