Skip to content

Commit

Permalink
Merge branch 'android-logs'
Browse files Browse the repository at this point in the history
  • Loading branch information
Beerosagos committed Sep 30, 2024
2 parents 2cbe6ab + 488a8a3 commit 4b11886
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Unreleased
- Android: enable export logs feature

# 4.45.0
- Bundle BitBox02 firmware version v9.21.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
import { useTranslation } from 'react-i18next';
import { SettingsItem } from '@/routes/settings/components/settingsItem/settingsItem';
import { ChevronRightDark } from '@/components/icon';
import { runningInAndroid, debug } from '@/utils/env';
import { debug } from '@/utils/env';
import { alertUser } from '@/components/alert/Alert';
import { exportLogs } from '@/api/backend';

export const ExportLogSetting = () => {
const { t } = useTranslation();
return (debug === true || runningInAndroid()) ? null : (
return debug === true ? null : (
<SettingsItem
settingName={t('settings.expert.exportLogs.title')}
onClick={async () => {
Expand All @@ -45,4 +45,4 @@ export const ExportLogSetting = () => {
}
/>
);
};
};

0 comments on commit 4b11886

Please sign in to comment.