Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Pontus Lundin
2020-08-01 16:07:19 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-08-01 16:07:19 +0200
Commit
51f98f08ca506c2127cecf311ac3e1e52313aab0
51f98f08
1 parent
6d7f7c07
Update root_widget.dart
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/src/navigation/root/root_widget.dart
lib/src/navigation/root/root_widget.dart
View file @
51f98f0
...
...
@@ -281,7 +281,7 @@ extension Trans on String {
Get
.
translations
[
Get
.
locale
.
languageCode
].
containsKey
(
this
))
{
return
Get
.
translations
[
Get
.
locale
.
languageCode
][
this
];
// If there is no corresponding language or corresponding key, return the key.
}
else
if
(
Get
.
translations
.
containsKey
(
}
else
if
(
Get
.
fallbackLocale
!=
null
&&
Get
.
translations
.
containsKey
(
"
${Get.fallbackLocale.languageCode}
_
${Get.fallbackLocale.countryCode}
"
)
&&
Get
.
translations
[
"
${Get.fallbackLocale.languageCode}
_
${Get.fallbackLocale.countryCode}
"
]
...
...
Please
register
or
login
to post a comment