add threads button back to appbar, hide close button on linux mobile mode

This commit is contained in:
Henry Hiles 2026-11-06 12:30:20 -05:00
commit a229fcc598
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -77,11 +77,17 @@ final class const Appbar({
onPressed: maximize,
icon: const Icon(Icons.fullscreen),
),
IconButton(
tooltip: "Close window",
onPressed: () => exit(0),
icon: const Icon(Icons.close),
),
if (ref
.watch(SettingsController.provider)
.whenOrNull(
data: (settings) => !settings.linuxMobileMode,
) ??
true)
IconButton(
tooltip: "Close window",
onPressed: () => exit(0),
icon: const Icon(Icons.close),
),
],
],
),