diff --git a/Habitica/google-services.json b/Habitica/google-services.json new file mode 100644 index 000000000..1613c3bb2 --- /dev/null +++ b/Habitica/google-services.json @@ -0,0 +1,69 @@ +{ + "project_info": { + "project_number": "786261551143", + "firebase_url": "https://habitica-3ad69.firebaseio.com", + "project_id": "habitica-3ad69", + "storage_bucket": "habitica-3ad69.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:786261551143:android:5a836986630180e50a0602", + "android_client_info": { + "package_name": "com.habitrpg.android.habitica" + } + }, + "oauth_client": [ + { + "client_id": "786261551143-i8c0j6s3p3sasfb2ov16sdl4du1anhvp.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCx53gb7IXtpfeD_5NmICGGwPCsAzW9ybM" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "786261551143-i8c0j6s3p3sasfb2ov16sdl4du1anhvp.apps.googleusercontent.com", + "client_type": 3 + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:786261551143:android:6b6c6fdc44b197540a0602", + "android_client_info": { + "package_name": "com.habitrpg.android.habitica.debug" + } + }, + "oauth_client": [ + { + "client_id": "786261551143-i8c0j6s3p3sasfb2ov16sdl4du1anhvp.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCx53gb7IXtpfeD_5NmICGGwPCsAzW9ybM" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "786261551143-i8c0j6s3p3sasfb2ov16sdl4du1anhvp.apps.googleusercontent.com", + "client_type": 3 + } + ] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/Habitica/res/layout/support_collapsible_section.xml b/Habitica/res/layout/support_collapsible_section.xml index 88b8487b9..f6c353652 100644 --- a/Habitica/res/layout/support_collapsible_section.xml +++ b/Habitica/res/layout/support_collapsible_section.xml @@ -40,12 +40,13 @@ android:layout_width="0dp" android:layout_weight="1" android:layout_height="wrap_content" /> + + android:layout_marginEnd="@dimen/spacing_large" + android:src="@drawable/ic_keyboard_arrow_down_black_24dp" /> (checkboxHolder.height + 5.dpToPx(context)))) { + if (motionEvent.x <= 72.dpToPx(context)) { + onLeftActionTouched() + return true + } + } + } } } } @@ -259,4 +287,4 @@ abstract class BaseTaskViewHolder constructor(itemView: View, var scoreTaskFunc: this.openTaskDisabled = openTaskDisabled this.taskActionsDisabled = taskActionsDisabled } -} +} \ No newline at end of file diff --git a/Habitica/src/main/java/com/habitrpg/android/habitica/ui/viewHolders/tasks/ChecklistedViewHolder.kt b/Habitica/src/main/java/com/habitrpg/android/habitica/ui/viewHolders/tasks/ChecklistedViewHolder.kt index 0429062b7..3f378944f 100644 --- a/Habitica/src/main/java/com/habitrpg/android/habitica/ui/viewHolders/tasks/ChecklistedViewHolder.kt +++ b/Habitica/src/main/java/com/habitrpg/android/habitica/ui/viewHolders/tasks/ChecklistedViewHolder.kt @@ -2,11 +2,7 @@ package com.habitrpg.android.habitica.ui.viewHolders.tasks import android.content.Context import android.graphics.PorterDuff -import android.graphics.Rect -import android.view.LayoutInflater -import android.view.TouchDelegate -import android.view.View -import android.view.ViewGroup +import android.view.* import android.widget.* import androidx.core.content.ContextCompat import androidx.recyclerview.widget.LinearLayoutManager diff --git a/habitica.properties.example b/habitica.properties similarity index 100% rename from habitica.properties.example rename to habitica.properties diff --git a/habitica.resources.example b/habitica.resources similarity index 100% rename from habitica.resources.example rename to habitica.resources