Skip to content

Commit

Permalink
add google-services.json and refactor packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody Weaver authored and Cody Weaver committed Dec 23, 2023
1 parent 9f7fd85 commit 114ba03
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ render.experimental.xml
*.keystore

# Google Services (e.g. APIs or Firebase)
google-services.json
# google-services.json

# Android Profiling
*.hprof*.iml
Expand Down
29 changes: 29 additions & 0 deletions app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"project_info": {
"project_number": "678864922010",
"project_id": "pocketalchemy-c2355",
"storage_bucket": "pocketalchemy-c2355.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:678864922010:android:c92358ce9258368a144623",
"android_client_info": {
"package_name": "com.android.pocketalchemy"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyDmyM-QdLe52I8-hjH8ICCb7S9Y7sjgBC0"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
}
],
"configuration_version": "1"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.android.pocketalchemy.category
package com.android.pocketalchemy.model

data class Category(
val title: String
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.android.pocketalchemy.ingredient
package com.android.pocketalchemy.model

/* PLACEHOLDER */
data class Ingredient(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package com.android.pocketalchemy.recipe
package com.android.pocketalchemy.model

import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import com.android.pocketalchemy.R
import com.android.pocketalchemy.category.Category
import com.android.pocketalchemy.ingredient.Ingredient
import java.time.LocalDateTime

data class Recipe(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.android.pocketalchemy.R
import com.android.pocketalchemy.recipe.Recipe
import com.android.pocketalchemy.model.Recipe

// Max number of lines of text for recipe descriptions.
private const val MAX_DETAIL_LINES = 7
Expand Down

0 comments on commit 114ba03

Please sign in to comment.