mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-11 21:15:37 +02:00
fix: Add build mode to about widget
This commit is contained in:
parent
ef0c59f693
commit
a3dca8c142
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
import 'package:flutter/foundation.dart';
|
||||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
import 'package:device_info_plus/device_info_plus.dart';
|
||||
|
||||
|
@ -7,6 +8,7 @@ class AboutInfo {
|
|||
final info = await DeviceInfoPlugin().androidInfo;
|
||||
return {
|
||||
'version': packageInfo.version,
|
||||
'flavor': kReleaseMode ? 'release' : 'debug',
|
||||
'model': info.model,
|
||||
'androidVersion': info.version.release,
|
||||
'arch': info.supportedAbis.first
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue