Skip to content

Commit

Permalink
Location component empty state placeholder (#559)
Browse files Browse the repository at this point in the history
* Location component empty state placeholder

* Generate new screenshots
  • Loading branch information
AdamGrzybkowski authored Jan 27, 2025
1 parent 5da9063 commit 2e8294d
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public fun Location(
}

ComponentState.Empty -> {
content.invoke(stringResource(id = R.string.gravatar_ui_empty_state_user_info), modifier)
content.invoke(stringResource(id = R.string.gravatar_ui_location_empty_state), modifier)
}
}
}
Expand Down
1 change: 1 addition & 0 deletions gravatar-ui/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
<string name="gravatar_ui_empty_state_display_name">Your Name</string>
<string name="gravatar_ui_empty_state_user_info">Add your location, pronouns, etc</string>
<string name="gravatar_ui_empty_state_view_profile_button">Claim profile</string>
<string name="gravatar_ui_location_empty_state">Location</string>
</resources>

0 comments on commit 2e8294d

Please sign in to comment.