mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
feat: clarify architecture in about section
This commit changes `Arch` to `Supported Arch(s)`
This commit is contained in:
parent
67c5d67a61
commit
2e38a4567a
@ -29,7 +29,7 @@ class _AboutWidgetState extends State<AboutWidget> {
|
||||
text: 'Version: ${snapshot.data!['version']}\n'
|
||||
'Model: ${snapshot.data!['model']}\n'
|
||||
'Android Version: ${snapshot.data!['androidVersion']}\n'
|
||||
'Arch: ${snapshot.data!['arch']}\n',
|
||||
'${snapshot.data!['supportedArch'].length > 1 ? 'Supported Archs' : 'Supported Arch'}: ${snapshot.data!['supportedArch'].join(", ")}\n',
|
||||
),
|
||||
);
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
@ -84,7 +84,9 @@ class _AboutWidgetState extends State<AboutWidget> {
|
||||
),
|
||||
),
|
||||
Text(
|
||||
'Arch: ${snapshot.data!['arch']}',
|
||||
snapshot.data!['supportedArch'].length > 1
|
||||
? 'Supported Archs: ${snapshot.data!['supportedArch'].join(", ")}'
|
||||
: 'Supported Arch: ${snapshot.data!['supportedArch']}',
|
||||
style: const TextStyle(
|
||||
fontSize: 13,
|
||||
fontWeight: FontWeight.w300,
|
||||
|
@ -11,7 +11,7 @@ class AboutInfo {
|
||||
'flavor': kReleaseMode ? 'release' : 'debug',
|
||||
'model': info.model,
|
||||
'androidVersion': info.version.release,
|
||||
'arch': info.supportedAbis
|
||||
'supportedArch': info.supportedAbis
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user