mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-23 19:21:03 +00:00
refactor: improve code readability according to formatter
This commit is contained in:
@@ -34,7 +34,8 @@ class AppSkeletonLoader extends StatelessWidget {
|
||||
style: SkeletonLineStyle(
|
||||
height: 20,
|
||||
width: screenWidth * 0.4,
|
||||
borderRadius: const BorderRadius.all(Radius.circular(10)),
|
||||
borderRadius:
|
||||
const BorderRadius.all(Radius.circular(10)),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -45,7 +46,8 @@ class AppSkeletonLoader extends StatelessWidget {
|
||||
style: SkeletonLineStyle(
|
||||
height: 15,
|
||||
width: screenWidth * 0.6,
|
||||
borderRadius: const BorderRadius.all(Radius.circular(10)),
|
||||
borderRadius:
|
||||
const BorderRadius.all(Radius.circular(10)),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -56,7 +58,8 @@ class AppSkeletonLoader extends StatelessWidget {
|
||||
style: SkeletonLineStyle(
|
||||
height: 15,
|
||||
width: screenWidth * 0.5,
|
||||
borderRadius: const BorderRadius.all(Radius.circular(10)),
|
||||
borderRadius:
|
||||
const BorderRadius.all(Radius.circular(10)),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -66,7 +66,7 @@ class _InstalledAppItemState extends State<InstalledAppItem> {
|
||||
context,
|
||||
'installed',
|
||||
translationParams: {
|
||||
'version':'v${widget.installedVersion}'
|
||||
'version': 'v${widget.installedVersion}'
|
||||
},
|
||||
),
|
||||
),
|
||||
@@ -75,8 +75,9 @@ class _InstalledAppItemState extends State<InstalledAppItem> {
|
||||
I18nText(
|
||||
'suggested',
|
||||
translationParams: {
|
||||
'version' : widget.suggestedVersion.isEmpty
|
||||
? FlutterI18n.translate(context, 'appSelectorCard.allVersions')
|
||||
'version': widget.suggestedVersion.isEmpty
|
||||
? FlutterI18n.translate(
|
||||
context, 'appSelectorCard.allVersions')
|
||||
: 'v${widget.suggestedVersion}',
|
||||
},
|
||||
),
|
||||
|
||||
@@ -60,8 +60,7 @@ class _NotInstalledAppItem extends State<NotInstalledAppItem> {
|
||||
child: Text(
|
||||
'',
|
||||
style: TextStyle(
|
||||
color:
|
||||
Theme.of(context).textTheme.titleLarge!.color,
|
||||
color: Theme.of(context).textTheme.titleLarge!.color,
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -70,8 +69,9 @@ class _NotInstalledAppItem extends State<NotInstalledAppItem> {
|
||||
I18nText(
|
||||
'suggested',
|
||||
translationParams: {
|
||||
'version' : widget.suggestedVersion.isEmpty
|
||||
? FlutterI18n.translate(context, 'appSelectorCard.allVersions')
|
||||
'version': widget.suggestedVersion.isEmpty
|
||||
? FlutterI18n.translate(
|
||||
context, 'appSelectorCard.allVersions')
|
||||
: 'v${widget.suggestedVersion}',
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user