Skip to content

Commit

Permalink
fix[EFB]: Aircraft type loader
Browse files Browse the repository at this point in the history
  • Loading branch information
masterrob94 committed Feb 5, 2024
1 parent afd8f22 commit a6a8b5d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import { usePersistentProperty } from '@flybywiresim/fbw-sdk';
import { toast } from 'react-toastify';
import { fetchSimbriefDataAction, isSimbriefDataLoaded, setPayloadImported, setFuelImported } from '../../Store/features/simBrief';
import { useAppSelector, useAppDispatch } from '../../Store/store';

import { ScrollableContainer } from '../../UtilComponents/ScrollableContainer';
import { t } from '../../translation';
import { getAirframeType } from '../../Efb';
import { AC_TYPE } from '../../Enum/Airframe';

interface InformationEntryProps {
title: string;
Expand Down
2 changes: 1 addition & 1 deletion hsim-common/src/systems/instruments/src/EFB/Efb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const BATTERY_DURATION_DISCHARGE_MIN = 540;

const LoadingScreen = () => (
<div className="bg-theme-statusbar flex h-screen w-screen items-center justify-center">
<FbwLogo width={128} height={120} className="text-theme-text" />
<HSLogo width={128} height={120} className="text-theme-text" />
</div>
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import { SelectGroup, SelectItem } from '../../UtilComponents/Form/Select';
import { ProgressBar } from '../../UtilComponents/Progress/Progress';
import { SimpleInput } from '../../UtilComponents/Form/SimpleInput/SimpleInput';
import { OverWingOutline } from '../../Assets/OverWingOutline';
import { getAirframeType } from '../../Efb';
import { Fuel } from './Fuel/Constants'

interface TankReadoutProps {
title: string;
Expand Down

0 comments on commit a6a8b5d

Please sign in to comment.