common oidc, tmp commit
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
dab956fe85
commit
3f3c45b663
@ -66,7 +66,7 @@ class ButtonOP extends StatelessWidget {
|
|||||||
width: 200,
|
width: 200,
|
||||||
child: Obx(() => ElevatedButton(
|
child: Obx(() => ElevatedButton(
|
||||||
style: ElevatedButton.styleFrom(
|
style: ElevatedButton.styleFrom(
|
||||||
primary: curOP.value.isEmpty || curOP.value == op
|
backgroundColor: curOP.value.isEmpty || curOP.value == op
|
||||||
? primaryColor
|
? primaryColor
|
||||||
: Colors.grey,
|
: Colors.grey,
|
||||||
).copyWith(elevation: ButtonStyleButton.allOrNull(0.0)),
|
).copyWith(elevation: ButtonStyleButton.allOrNull(0.0)),
|
||||||
@ -74,17 +74,21 @@ class ButtonOP extends StatelessWidget {
|
|||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 30,
|
width: 30,
|
||||||
child: _IconOP(
|
child: _IconOP(
|
||||||
op: op,
|
op: op,
|
||||||
icon: icon,
|
icon: icon,
|
||||||
margin: EdgeInsets.only(right: 5),
|
margin: EdgeInsets.only(right: 5),
|
||||||
)),
|
),
|
||||||
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: FittedBox(
|
child: FittedBox(
|
||||||
fit: BoxFit.scaleDown,
|
fit: BoxFit.scaleDown,
|
||||||
child: Center(
|
child: Center(
|
||||||
child: Text('${translate("Continue with")} ${toCapitalized(op)}')))),
|
child: Text(
|
||||||
|
'${translate("Continue with")} ${op.toLowerCase() == "github" ? "GitHub" : toCapitalized(op)}')),
|
||||||
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
))),
|
))),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user