From 1ac2c5a795ea97d308c6e10b96428dc3b800ad47 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Tue, 29 Sep 2020 12:48:20 +0200 Subject: [PATCH] Fix various minor issues --- Habitica/AndroidManifest.xml | 2 ++ Habitica/AndroidManifestTesting.xml | 1 - Habitica/build.gradle | 4 ++-- Habitica/res/drawable/checklist_unchecked.xml | 2 +- .../drawable/round_checklist_unchecked.xml | 2 +- Habitica/res/layout/activity_full_profile.xml | 2 +- Habitica/res/layout/activity_gem_purchase.xml | 2 +- Habitica/res/layout/activity_guidelines.xml | 2 +- Habitica/res/layout/activity_login.xml | 13 +++++++++++ .../res/layout/activity_notifications.xml | 2 +- .../res/layout/activity_skill_members.xml | 2 +- Habitica/res/layout/activity_skill_tasks.xml | 2 +- Habitica/res/layout/dialog_task_filter.xml | 2 +- Habitica/res/layout/edit_tag_item.xml | 6 +++-- .../res/layout/fragment_gift_gem_balance.xml | 3 +-- .../res/layout/fragment_gift_gem_purchase.xml | 6 +++-- Habitica/res/layout/fragment_subscription.xml | 2 +- Habitica/res/layout/party_member.xml | 7 ++++++ Habitica/res/layout/subscription_details.xml | 2 +- Habitica/res/layout/task_main_content.xml | 4 ++-- .../res/layout/view_collapsible_section.xml | 6 ++--- Habitica/res/layout/view_invitation.xml | 23 ++++++++++--------- Habitica/res/values-es/strings.xml | 2 +- Habitica/res/values-ja/strings.xml | 2 +- Habitica/res/values/dimens.xml | 2 +- Habitica/res/values/strings.xml | 3 +++ Habitica/res/values/styles.xml | 17 ++++++++++++-- .../android/habitica/models/tasks/Task.kt | 13 +++++++++++ .../habitica/ui/activities/BaseActivity.kt | 1 + .../ui/activities/ChallengeFormActivity.kt | 15 ++++++++---- .../activities/FixCharacterValuesActivity.kt | 1 - .../ui/activities/GiftGemsActivity.kt | 2 +- .../ui/activities/GroupInviteActivity.kt | 2 +- .../habitica/ui/activities/LoginActivity.kt | 2 ++ .../habitica/ui/activities/SetupActivity.kt | 2 +- .../ui/activities/TaskFormActivity.kt | 6 ++--- .../habitica/ui/fragments/BaseFragment.kt | 5 ---- .../inventory/items/ItemsFragment.kt | 2 +- .../inventory/stable/StableFragment.kt | 2 +- .../ui/fragments/setup/AvatarSetupFragment.kt | 6 +---- .../ui/fragments/setup/TaskSetupFragment.kt | 6 ++--- .../ui/fragments/social/ChatFragment.kt | 20 +++++++++------- .../social/NoPartyFragmentFragment.kt | 2 +- .../challenges/ChallengeListFragment.kt | 2 +- .../tasks/TaskRecyclerViewFragment.kt | 2 ++ .../habitica/ui/helpers/ToolbarColorHelper.kt | 7 ++++-- .../ui/viewHolders/MemberViewHolder.kt | 2 ++ .../tasks/ChecklistedViewHolder.kt | 9 ++++++-- .../habitica/ui/viewmodels/GroupViewModel.kt | 7 ++++-- .../ui/views/CollapsibleSectionView.kt | 14 ++++++----- .../ui/views/dialogs/HabiticaAlertDialog.kt | 2 +- .../ui/views/tasks/TaskFilterDialog.kt | 3 +++ 52 files changed, 168 insertions(+), 90 deletions(-) diff --git a/Habitica/AndroidManifest.xml b/Habitica/AndroidManifest.xml index bf458dd69e..8aa9880610 100644 --- a/Habitica/AndroidManifest.xml +++ b/Habitica/AndroidManifest.xml @@ -12,6 +12,7 @@ + - diff --git a/Habitica/build.gradle b/Habitica/build.gradle index c9d9d81872..d20bd92248 100644 --- a/Habitica/build.gradle +++ b/Habitica/build.gradle @@ -156,8 +156,8 @@ android { multiDexEnabled true resConfigs "en", "bg", "de", "en-rGB", "es", "fr", "hr-rHR", "in", "it", "iw", "ja", "ko", "lt", "nl", "pl", "pt-rBR", "pt-rPT", "ru", "tr", "zh", "zh-rTW" - versionCode 2561 - versionName "3.0" + versionCode 2571 + versionName "3.0.1" } viewBinding { diff --git a/Habitica/res/drawable/checklist_unchecked.xml b/Habitica/res/drawable/checklist_unchecked.xml index d754d2671f..bb27279ad6 100644 --- a/Habitica/res/drawable/checklist_unchecked.xml +++ b/Habitica/res/drawable/checklist_unchecked.xml @@ -1,7 +1,7 @@ - + \ No newline at end of file diff --git a/Habitica/res/drawable/round_checklist_unchecked.xml b/Habitica/res/drawable/round_checklist_unchecked.xml index 07a4ebfaab..779bc97dd0 100644 --- a/Habitica/res/drawable/round_checklist_unchecked.xml +++ b/Habitica/res/drawable/round_checklist_unchecked.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/Habitica/res/layout/activity_full_profile.xml b/Habitica/res/layout/activity_full_profile.xml index ee5642f809..8028c71a21 100644 --- a/Habitica/res/layout/activity_full_profile.xml +++ b/Habitica/res/layout/activity_full_profile.xml @@ -19,7 +19,7 @@ android:minHeight="?attr/actionBarSize" android:theme="@style/Toolbar.Modern" app:layout_scrollFlags="scroll|enterAlways" - app:popupTheme="@style/Theme.AppCompat.Light"/> + app:popupTheme="@style/PopupTheme"/> + app:popupTheme="@style/PopupTheme" /> diff --git a/Habitica/res/layout/activity_guidelines.xml b/Habitica/res/layout/activity_guidelines.xml index 87588e8eca..e144e34a60 100644 --- a/Habitica/res/layout/activity_guidelines.xml +++ b/Habitica/res/layout/activity_guidelines.xml @@ -19,7 +19,7 @@ android:minHeight="?attr/actionBarSize" android:theme="@style/Toolbar.Modern" app:layout_scrollFlags="scroll|enterAlways" - app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/> + app:popupTheme="@style/PopupTheme"/> + + diff --git a/Habitica/res/layout/activity_notifications.xml b/Habitica/res/layout/activity_notifications.xml index b5222c8333..70cd5d2fe8 100644 --- a/Habitica/res/layout/activity_notifications.xml +++ b/Habitica/res/layout/activity_notifications.xml @@ -19,7 +19,7 @@ android:minHeight="?attr/actionBarSize" android:theme="@style/Toolbar.Modern" app:layout_scrollFlags="scroll|enterAlways" - app:popupTheme="@style/ThemeOverlay.AppCompat.Light" /> + app:popupTheme="@style/PopupTheme" /> diff --git a/Habitica/res/layout/activity_skill_members.xml b/Habitica/res/layout/activity_skill_members.xml index 840564aa47..22228fcd85 100644 --- a/Habitica/res/layout/activity_skill_members.xml +++ b/Habitica/res/layout/activity_skill_members.xml @@ -19,7 +19,7 @@ android:minHeight="?attr/actionBarSize" android:theme="@style/Toolbar.Modern" app:layout_scrollFlags="scroll|enterAlways" - app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/> + app:popupTheme="@style/PopupTheme"/> diff --git a/Habitica/res/layout/activity_skill_tasks.xml b/Habitica/res/layout/activity_skill_tasks.xml index dbcb1e0b8b..c00c542eb8 100644 --- a/Habitica/res/layout/activity_skill_tasks.xml +++ b/Habitica/res/layout/activity_skill_tasks.xml @@ -19,7 +19,7 @@ android:minHeight="?attr/actionBarSize" android:theme="@style/Toolbar.Modern" app:layout_scrollFlags="scroll|enterAlways" - app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/> + app:popupTheme="@style/PopupTheme"/> diff --git a/Habitica/res/layout/dialog_task_filter.xml b/Habitica/res/layout/dialog_task_filter.xml index 62be5a5c12..080d732a7d 100644 --- a/Habitica/res/layout/dialog_task_filter.xml +++ b/Habitica/res/layout/dialog_task_filter.xml @@ -74,7 +74,7 @@ android:layout_height="wrap_content" android:layout_gravity="end" android:text="@string/edit_tag_btn_edit" - android:textColor="@color/text_brand" + android:textColor="?colorPrimary" android:textSize="16sp" android:gravity="end|center_vertical" android:paddingEnd="0dp"/> diff --git a/Habitica/res/layout/edit_tag_item.xml b/Habitica/res/layout/edit_tag_item.xml index 3cf81763b1..0267fcd3b3 100644 --- a/Habitica/res/layout/edit_tag_item.xml +++ b/Habitica/res/layout/edit_tag_item.xml @@ -5,12 +5,14 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_vertical"> -