Skip to content

Commit

Permalink
feat: New app name (#1686)
Browse files Browse the repository at this point in the history
  • Loading branch information
M123-dev authored Apr 29, 2022
1 parent 20a9da0 commit df3b8a1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
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

0 comments on commit df3b8a1

Please sign in to comment.