mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 19:47:17 +00:00
feat: add build date
This commit is contained in:
@@ -1029,10 +1029,12 @@ class _AboutState extends State<_About> {
|
||||
return _futureBuilder(future: () async {
|
||||
final license = await bind.mainGetLicense();
|
||||
final version = await bind.mainGetVersion();
|
||||
return {'license': license, 'version': version};
|
||||
final buildDate = await bind.mainGetBuildDate();
|
||||
return {'license': license, 'version': version, 'buildDate': buildDate};
|
||||
}(), hasData: (data) {
|
||||
final license = data['license'].toString();
|
||||
final version = data['version'].toString();
|
||||
final buildDate = data['buildDate'].toString();
|
||||
const linkStyle = TextStyle(decoration: TextDecoration.underline);
|
||||
final scrollController = ScrollController();
|
||||
return DesktopScrollWrapper(
|
||||
@@ -1048,6 +1050,7 @@ class _AboutState extends State<_About> {
|
||||
height: 8.0,
|
||||
),
|
||||
Text('Version: $version').marginSymmetric(vertical: 4.0),
|
||||
Text('Build Date: $buildDate').marginSymmetric(vertical: 4.0),
|
||||
InkWell(
|
||||
onTap: () {
|
||||
launchUrlString('https://rustdesk.com/privacy');
|
||||
|
||||
Reference in New Issue
Block a user