aboutsummaryrefslogtreecommitdiff
path: root/src/mobile/MobileInterface.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/mobile/MobileInterface.tsx')
-rw-r--r--src/mobile/MobileInterface.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mobile/MobileInterface.tsx b/src/mobile/MobileInterface.tsx
index 84a5975cb..ceda74da2 100644
--- a/src/mobile/MobileInterface.tsx
+++ b/src/mobile/MobileInterface.tsx
@@ -415,7 +415,7 @@ export class MobileInterface extends React.Component {
onClick={this.returnMain}
style={{ opacity: 0.7 }}>
<FontAwesomeIcon className="right" icon="angle-double-left" size="lg" />
- <div className="item-type">Return to library</div>
+ <div className="item-type">Return to workspaces</div>
</div>
</> :
<>
@@ -509,7 +509,7 @@ export class MobileInterface extends React.Component {
}
undo = () => {
- if (this._activeDoc.type === "collection" && this._activeDoc !== this._homeDoc) {
+ if (this._activeDoc.type === "collection" && this._activeDoc !== this._homeDoc && this._activeDoc.title !== "WORKSPACES") {
return (<>
<div className="docButton"
style={{ backgroundColor: "black", color: "white" }}
@@ -526,7 +526,7 @@ export class MobileInterface extends React.Component {
}
redo = () => {
- if (this._activeDoc.type === "collection" && this._activeDoc !== this._homeDoc) {
+ if (this._activeDoc.type === "collection" && this._activeDoc !== this._homeDoc && this._activeDoc.title !== "WORKSPACES") {
return (<>
<div className="docButton"
style={{ backgroundColor: "black", color: "white" }}
@@ -814,10 +814,10 @@ export class MobileInterface extends React.Component {
{this.pinToPresentation()}
{this.downloadDocument()}
{this.undo()}
+ {this.drawInk()}
{this.redo()}
- {this.upload()}
+ {/* {this.upload()} */}
{this.uploadImageButton()}
- {/* {this.drawInk()} */}
{/* {this.uploadAudioButton()} */}
</div>
{this.displayWorkspaces()}