mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: Minor improvements on App Info view
This commit is contained in:
parent
5fbc8ff7a0
commit
83ad7605c4
@ -64,7 +64,7 @@ class AppInfoView extends StatelessWidget {
|
|||||||
CustomCard(
|
CustomCard(
|
||||||
child: IntrinsicHeight(
|
child: IntrinsicHeight(
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () => model.openApp(app),
|
onTap: () => model.openApp(app),
|
||||||
|
@ -70,25 +70,28 @@ class _ApplicationItemState extends State<ApplicationItem>
|
|||||||
const SizedBox(width: 4),
|
const SizedBox(width: 4),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(left: 15.0),
|
padding: const EdgeInsets.only(left: 15.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Text(
|
Text(
|
||||||
widget.name,
|
widget.name.length > 10
|
||||||
style: const TextStyle(
|
? '${widget.name.substring(0, 10)}...'
|
||||||
fontSize: 16,
|
: widget.name,
|
||||||
fontWeight: FontWeight.w500,
|
style: const TextStyle(
|
||||||
),
|
fontSize: 16,
|
||||||
|
fontWeight: FontWeight.w500,
|
||||||
),
|
),
|
||||||
Text(format(widget.patchDate)),
|
),
|
||||||
],
|
Text(format(widget.patchDate)),
|
||||||
),
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(right: 5.0),
|
padding: const EdgeInsets.only(right: 5.0),
|
||||||
child: RotationTransition(
|
child: RotationTransition(
|
||||||
turns: Tween(begin: 0.0, end: 0.50).animate(_animationController),
|
turns:
|
||||||
|
Tween(begin: 0.0, end: 0.50).animate(_animationController),
|
||||||
child: IconButton(
|
child: IconButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
expController.toggle();
|
expController.toggle();
|
||||||
|
Loading…
Reference in New Issue
Block a user