mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-11-18 06:41:17 -06:00
+18
-3
@@ -301,9 +301,24 @@ class _LoginScreenState extends State<LoginScreen> {
|
||||
onTap: () async {
|
||||
_domainController.text = 'https://gitea.com';
|
||||
final result = await theme.showConfirm(
|
||||
context,
|
||||
_buildPopup(context, showDomain: true),
|
||||
);
|
||||
context,
|
||||
Column(
|
||||
children: [
|
||||
_buildPopup(context, showDomain: true),
|
||||
Text.rich(TextSpan(children: [
|
||||
TextSpan(
|
||||
text:
|
||||
'Note: To login with Codeberg change the domain name to: ',
|
||||
),
|
||||
])),
|
||||
SizedBox(height: 8),
|
||||
Text(
|
||||
'https://codeberg.org',
|
||||
style: TextStyle(
|
||||
fontSize: 16, color: theme.palette.primary),
|
||||
),
|
||||
],
|
||||
));
|
||||
if (result == true) {
|
||||
try {
|
||||
await auth.loginToGitea(
|
||||
|
||||
Reference in New Issue
Block a user