macOS support

This commit is contained in:
sarah committed 2026-10-14 13:18:18 +02:00
1 parent 5613f4f8fe
commit 1bd37db1ba
8 files changed
+113 -29

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ import os
import flet as ft
from Core import ChipButton, DisplayPath, Heading, Note, Palette
from Core import ChipButton, DisplayPath, Heading, Note, Palette, UserTemplatesDir
from Templates import AllTemplates, DeleteUserTemplate, SaveUserTemplate, SortTemplate
from Widgets import App, DirField, ExpandPath, NameField
@@ -26,7 +26,7 @@ class TemplatesPage(ft.Column):
padding=ft.Padding.only(left=16, right=16, top=12, bottom=4),
),
ft.Container(Note("Pick one, choose where files come from and where they go. "
"Your own templates live in ~/.config/SaraSuite/SaraSort/Templates/."),
f"Your own templates live in {DisplayPath(str(UserTemplatesDir))}."),
padding=ft.Padding.only(left=16, bottom=8)),
ft.Divider(height=1, color=Palette.Surface1),
ft.Container(ft.Column([self.Grid], scroll=ft.ScrollMode.AUTO, expand=True), padding=16, expand=True),