fix loading indicator alignment for business QR code
This commit is contained in:
@@ -368,8 +368,8 @@ class _MihBusinessCardV2State extends State<MihBusinessCardV2> {
|
||||
"Dark"),
|
||||
fontSize: 20,
|
||||
),
|
||||
),
|
||||
).redacted(context: context, redact: true),
|
||||
).redacted(context: context, redact: true),
|
||||
),
|
||||
],
|
||||
);
|
||||
} else {
|
||||
@@ -450,8 +450,8 @@ class _MihBusinessCardV2State extends State<MihBusinessCardV2> {
|
||||
"Dark"),
|
||||
fontSize: 20,
|
||||
),
|
||||
),
|
||||
).redacted(context: context, redact: true),
|
||||
).redacted(context: context, redact: true),
|
||||
),
|
||||
],
|
||||
);
|
||||
} else {
|
||||
|
||||
@@ -19,9 +19,6 @@ class _MihloadingcircleState extends State<Mihloadingcircle>
|
||||
late AnimationController _controller;
|
||||
late Animation<double> _animation;
|
||||
|
||||
late double width;
|
||||
late double height;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
@@ -82,16 +79,15 @@ class _MihloadingcircleState extends State<Mihloadingcircle>
|
||||
},
|
||||
),
|
||||
),
|
||||
widget.message != null
|
||||
? Text(
|
||||
widget.message!,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
)
|
||||
: SizedBox(),
|
||||
if (widget.message != null)
|
||||
Text(
|
||||
widget.message!,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
],
|
||||
)),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user