Skip to content

Commit

Permalink
Change demo app namespace to avoid build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
maxme committed Apr 19, 2024
1 parent ccccbe6 commit e91bb97
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion demo-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fun localProperties(): Properties {
}

android {
namespace = "com.gravatar"
namespace = "com.gravatar.demoapp"
compileSdk = 34
buildFeatures.buildConfig = true

Expand Down
2 changes: 1 addition & 1 deletion demo-app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
tools:targetApi="31">

<activity
android:name=".demoapp.MainActivity"
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/Theme.Gravatar">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.gravatar.BuildConfig
import com.gravatar.R
import com.gravatar.demoapp.BuildConfig
import com.gravatar.demoapp.R
import com.gravatar.demoapp.ui.components.GravatarEmailInput
import com.gravatar.demoapp.ui.components.GravatarPasswordInput
import com.gravatar.services.ErrorType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ import coil.request.ImageRequest
import coil.size.Size
import com.gravatar.AvatarQueryOptions
import com.gravatar.AvatarUrl
import com.gravatar.BuildConfig
import com.gravatar.DefaultAvatarOption
import com.gravatar.ImageRating
import com.gravatar.R
import com.gravatar.api.models.UserProfiles
import com.gravatar.demoapp.BuildConfig
import com.gravatar.demoapp.R
import com.gravatar.demoapp.theme.GravatarDemoAppTheme
import com.gravatar.demoapp.ui.components.GravatarEmailInput
import com.gravatar.demoapp.ui.model.SettingsState
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.gravatar.DefaultAvatarOption
import com.gravatar.ImageRating
import com.gravatar.R
import com.gravatar.demoapp.R
import com.gravatar.demoapp.theme.GravatarDemoAppTheme
import com.gravatar.demoapp.ui.components.GravatarEmailInput
import com.gravatar.demoapp.ui.model.SettingsState
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import androidx.compose.material3.TextField
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import com.gravatar.R
import com.gravatar.demoapp.R

@Composable
fun GravatarEmailInput(email: String, onValueChange: (String) -> Unit, modifier: Modifier = Modifier) {
Expand Down

0 comments on commit e91bb97

Please sign in to comment.