parent
d826107621
commit
cb9bc89778
|
@ -301,9 +301,24 @@ class _LoginScreenState extends State<LoginScreen> {
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
_domainController.text = 'https://gitea.com';
|
_domainController.text = 'https://gitea.com';
|
||||||
final result = await theme.showConfirm(
|
final result = await theme.showConfirm(
|
||||||
context,
|
context,
|
||||||
_buildPopup(context, showDomain: true),
|
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) {
|
if (result == true) {
|
||||||
try {
|
try {
|
||||||
await auth.loginToGitea(
|
await auth.loginToGitea(
|
||||||
|
|
Loading…
Reference in New Issue