mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 09:36:27 +00:00
about: add firmware version as main version
Since the firmware version is the most important version, make it the primary version. (We still need the Pybricks Code version since not every update includes a firmware update.)
This commit is contained in:
committed by
David Lechner
parent
7b5b966fe6
commit
af89c0b80b
@@ -4,6 +4,7 @@
|
||||
// The about dialog
|
||||
|
||||
import { AnchorButton, Button, Classes, Dialog } from '@blueprintjs/core';
|
||||
import { firmwareVersion } from '@pybricks/firmware';
|
||||
import { WithI18nProps, withI18n } from '@shopify/react-i18n';
|
||||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
@@ -35,7 +36,7 @@ class AboutDialog extends React.Component<AboutDialogProps> {
|
||||
const { isOpen, onClose, i18n } = this.props;
|
||||
return (
|
||||
<Dialog
|
||||
title={`${appName} v${appVersion}`}
|
||||
title={`Pybricks v${firmwareVersion} (${appName} v${appVersion})`}
|
||||
isOpen={isOpen}
|
||||
onClose={() => onClose()}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user