Remove disconnect button; picking Local or closing the tab covers it

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-13 15:55:06 +02:00
co-authored by Claude Fable 5
parent 9f79bb0b17
commit 4a793ca50e
3 changed files with 0 additions and 16 deletions
-10
View File
@@ -21,16 +21,6 @@
size="calc(var(--action-icon) - 0.1rem)" size="calc(var(--action-icon) - 0.1rem)"
/> />
</button> </button>
@if (isRemote()) {
<button
(click)="disconnect()"
title="Disconnect (back to local)"
class="grid size-(--action-h) shrink-0 place-items-center rounded-md text-muted-foreground hover:bg-accent hover:text-foreground"
>
<ng-icon name="mynaLogout" size="var(--action-icon)" />
</button>
}
<div class="flex-1"></div> <div class="flex-1"></div>
<!-- panel actions: act on THIS panel. Frequent/destructive verbs grow text <!-- panel actions: act on THIS panel. Frequent/destructive verbs grow text
-4
View File
@@ -119,10 +119,6 @@ export class FilePanel {
this.dialogs.manager.set(true); this.dialogs.manager.set(true);
} }
disconnect(): void {
void this.panels.disconnectPanel(this.side());
}
iconFor(entry: FileEntry): string { iconFor(entry: FileEntry): string {
return fileGlyph(entry, this.settings.iconColors() === 'multi'); return fileGlyph(entry, this.settings.iconColors() === 'multi');
} }
-2
View File
@@ -24,7 +24,6 @@ import {
mynaImage, mynaImage,
mynaLink, mynaLink,
mynaLock, mynaLock,
mynaLogout,
mynaMusic, mynaMusic,
mynaPlus, mynaPlus,
mynaRefresh, mynaRefresh,
@@ -60,7 +59,6 @@ export const APP_ICONS = {
mynaImage, mynaImage,
mynaLink, mynaLink,
mynaLock, mynaLock,
mynaLogout,
mynaMusic, mynaMusic,
mynaPlus, mynaPlus,
mynaRefresh, mynaRefresh,