Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ginkgo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vjrj
ginkgo
Commits
2d6883db
Commit
2d6883db
authored
1 year ago
by
vjrj
Browse files
Options
Downloads
Patches
Plain Diff
Add telegram group links
parent
3a0870f6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
assets/translations/en.json
+2
-1
2 additions, 1 deletion
assets/translations/en.json
assets/translations/es.json
+2
-1
2 additions, 1 deletion
assets/translations/es.json
lib/ui/widgets/card_drawer.dart
+16
-0
16 additions, 0 deletions
lib/ui/widgets/card_drawer.dart
with
20 additions
and
2 deletions
assets/translations/en.json
+
2
−
1
View file @
2d6883db
...
@@ -185,5 +185,6 @@
...
@@ -185,5 +185,6 @@
"retry_payment"
:
"Retry Payment"
,
"retry_payment"
:
"Retry Payment"
,
"cancel_payment"
:
"Cancel Payment"
,
"cancel_payment"
:
"Cancel Payment"
,
"payment_canceled"
:
"Payment canceled although we cannot ensure that it has not already been executed"
,
"payment_canceled"
:
"Payment canceled although we cannot ensure that it has not already been executed"
,
"pay_again"
:
"Pay Again"
"pay_again"
:
"Pay Again"
,
"telegram_group"
:
"Telegram Group"
}
}
This diff is collapsed.
Click to expand it.
assets/translations/es.json
+
2
−
1
View file @
2d6883db
...
@@ -187,5 +187,6 @@
...
@@ -187,5 +187,6 @@
"cancel_payment"
:
"Cancelar pago"
,
"cancel_payment"
:
"Cancelar pago"
,
"payment_canceled"
:
"Pago cancelado aunque no podemos asegurar que no se haya hecho ejecutado ya"
,
"payment_canceled"
:
"Pago cancelado aunque no podemos asegurar que no se haya hecho ejecutado ya"
,
"transaction_failed"
:
"Pago fallido"
,
"transaction_failed"
:
"Pago fallido"
,
"pay_again"
:
"Paga de nuevo"
"pay_again"
:
"Paga de nuevo"
,
"telegram_group"
:
"Grupo de Telegram"
}
}
This diff is collapsed.
Click to expand it.
lib/ui/widgets/card_drawer.dart
+
16
−
0
View file @
2d6883db
...
@@ -5,6 +5,7 @@ import 'package:flutter/material.dart';
...
@@ -5,6 +5,7 @@ import 'package:flutter/material.dart';
import
'package:flutter_dotenv/flutter_dotenv.dart'
;
import
'package:flutter_dotenv/flutter_dotenv.dart'
;
import
'package:package_info_plus/package_info_plus.dart'
;
import
'package:package_info_plus/package_info_plus.dart'
;
import
'package:sentry_flutter/sentry_flutter.dart'
;
import
'package:sentry_flutter/sentry_flutter.dart'
;
import
'package:url_launcher/url_launcher.dart'
;
import
'../../data/models/cesium_card.dart'
;
import
'../../data/models/cesium_card.dart'
;
import
'../../shared_prefs.dart'
;
import
'../../shared_prefs.dart'
;
...
@@ -100,6 +101,21 @@ class CardDrawer extends StatelessWidget {
...
@@ -100,6 +101,21 @@ class CardDrawer extends StatelessWidget {
);
);
},
},
),
),
ListTile
(
leading:
const
Icon
(
Icons
.
telegram_outlined
),
title:
Text
(
tr
(
'telegram_group'
)),
onTap:
()
async
{
if
(
context
.
locale
==
const
Locale
(
'es'
)
||
context
.
locale
==
const
Locale
(
'ca'
)
||
context
.
locale
==
const
Locale
(
'gl'
)
||
context
.
locale
==
const
Locale
(
'eu'
)
||
context
.
locale
==
const
Locale
(
'ast'
))
{
await
launchUrl
(
Uri
.
parse
(
'https://t.me/g1nkgoES'
));
}
else
{
await
launchUrl
(
Uri
.
parse
(
'https://t.me/g1nkgoEN'
));
}
},
),
ListTile
(
ListTile
(
leading:
const
Icon
(
Icons
.
feedback
),
leading:
const
Icon
(
Icons
.
feedback
),
title:
Text
(
tr
(
'feedback'
)),
title:
Text
(
tr
(
'feedback'
)),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment