Skip to content

Commit 146be73

Browse files
committed
Old package compatibility
1 parent 5cf5edf commit 146be73

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

aur/.SRCINFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ pkgbase = python-sqlit-tui
99
makedepends = python-installer
1010
makedepends = python-hatchling
1111
depends = python>=3.10
12-
depends = python-textual>=6.10.0
13-
depends = python-textual-fastdatatable>=0.14.0
12+
depends = python-textual>=6.9.0
13+
depends = python-textual-fastdatatable>=0.12.0
1414
depends = python-pyperclip>=1.8.2
1515
depends = python-keyring>=24.0.0
1616
depends = python-docker>=7.0.0

aur/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ url="https://github.com/Maxteabag/sqlit"
88
license=('MIT')
99
depends=(
1010
'python>=3.10'
11-
'python-textual>=6.10.0'
12-
'python-textual-fastdatatable>=0.14.0'
11+
'python-textual>=6.9.0'
12+
'python-textual-fastdatatable>=0.12.0'
1313
'python-pyperclip>=1.8.2'
1414
'python-keyring>=24.0.0'
1515
'python-docker>=7.0.0'

sqlit/app.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,10 @@ def _apply_theme_safe(self, theme_name: str) -> None:
785785
try:
786786
self.theme = theme_name
787787
except Exception:
788-
self.theme = DEFAULT_THEME
788+
try:
789+
self.theme = DEFAULT_THEME
790+
except Exception:
791+
self.theme = "sqlit"
789792

790793
def _start_omarchy_watcher(self) -> None:
791794
"""Start watching for Omarchy theme changes."""

0 commit comments

Comments
 (0)