Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: New app name #1686

Merged
merged 1 commit into from
Apr 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</queries>

<application
android:label="Smoothie"
android:label="OpenFoodFacts"
android:name="${applicationName}"
android:icon="@mipmap/launcher_icon">
<activity
Expand Down
4 changes: 2 additions & 2 deletions packages/smooth_app/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Smooth App</string>
<string>OpenFoodFacts</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Smoothie</string>
<string>OpenFoodFacts</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
3 changes: 2 additions & 1 deletion packages/smooth_app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"app_name": "Smoothie",
"app_name": "OpenFoodFacts",
"@Utils": {},
"yes": "Yes",
"@yes": {},
Expand Down Expand Up @@ -226,6 +226,7 @@
},
"support_join_slack": "Ask for help in our Slack channel",
"support_via_email": "Send us an e-mail",

"termsOfUse": "Terms of use",
"@termsOfUse": {},
"about_this_app": "About this app",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ class SocialHandleView extends StatelessWidget {
onPressed: () async {
final PackageInfo packageInfo =
await PackageInfo.fromPlatform();
// TODO(M123): Change subject name when we have a different app name

final Mailto mailtoLink = Mailto(
to: <String>['contact@openfoodfacts.org'],
subject: 'Smoothie help', // TODO(monsieurtanuki): localize
subject: 'OpenFoodFacts (Codename: Smoothie) help',
body:
'Version:${packageInfo.version}+${packageInfo.buildNumber} running on ${Platform.operatingSystem}(${Platform.operatingSystemVersion})',
);
Expand Down