Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler committed May 21, 2024
1 parent 9e73036 commit 04301bb
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions Website/src/activitys/TerminalActivity.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
import { Ansi } from "@Components/Ansi";
import { Page } from "@Components/onsenui/Page";
import { Toolbar } from "@Components/onsenui/Toolbar";
import { useActivity } from "@Hooks/useActivity";
import { Button, styled } from "@mui/material";
import Stack from "@mui/material/Stack";
import Box from "@mui/material/Box";
import { Ansi } from "@Components/Ansi";
import RestartAltIcon from "@mui/icons-material/RestartAlt";
import React from "react";
import { Shell } from "@Native/Shell";
import { useModFS } from "@Hooks/useModFS";
import { useSettings } from "@Hooks/useSettings";
import { useStrings } from "@Hooks/useStrings";
import { BuildConfig } from "@Native/BuildConfig";
import { useModFS } from "@Hooks/useModFS";
import { INCLUDE_CORE } from "@Util/INCLUDE_CORE";
import { Shell } from "@Native/Shell";
import { view } from "@Native/View";
import { INCLUDE_CORE } from "@Util/INCLUDE_CORE";
import RestartAltIcon from "@mui/icons-material/RestartAlt";
import { Button } from "@mui/material";
import Box from "@mui/material/Box";
import Stack from "@mui/material/Stack";
import { useConfirm } from "material-ui-confirm";
import { ReplacementObject, useStrings } from "@Hooks/useStrings";
import { StringDeclaration } from "./../locales/declaration";
import React from "react";

export interface TerminalActivityExtra {
exploreInstall: boolean;
Expand Down Expand Up @@ -80,10 +79,7 @@ const TerminalActivity = () => {
component: Ansi,
props: {
linkify: true,
sx: {
ml: 1,
mr: 1,
},

...props,
},
},
Expand All @@ -99,7 +95,8 @@ const TerminalActivity = () => {
variant: "contained",
sx: {
width: "50vmin",
m: 1,
mt: 1,
mb: 1,
},
...props,
},
Expand Down Expand Up @@ -318,15 +315,16 @@ const TerminalActivity = () => {
modifier="noshadow"
renderToolbar={renderToolbar}
>
<div
ref={ref}
style={{
<Box
sx={{
display: "flex",
flexWrap: "wrap",
}}
>
<Stack
style={{
sx={{
pl: 1,
pr: 1,
whiteSpace: "pre",
flex: "0 0 100%",
color: "white",
Expand All @@ -341,7 +339,7 @@ const TerminalActivity = () => {
<line.component {...line.props} />
))}
</Stack>
</div>
</Box>
<Box sx={{ height: view.getWindowBottomInsets() }} ref={termEndRef} />
</Page>
);
Expand Down

0 comments on commit 04301bb

Please sign in to comment.