From 8faa67258fec0350750e155d41060f6d905afb41 Mon Sep 17 00:00:00 2001 From: wowlikon Date: Thu, 1 Jan 2026 20:45:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=B0=D0=BA=D1=82?= =?UTF-8?q?=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=BC=D0=B5=D0=BD=D1=8E=20=D0=BF?= =?UTF-8?q?=D0=BE=20=D1=83=D0=BC=D0=BE=D0=BB=D1=87=D0=B0=D0=BD=D0=B8=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configs/replace_navbar.json | 11 +++-------- patches/replace_navbar.py | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/configs/replace_navbar.json b/configs/replace_navbar.json index e152c83..79b407a 100644 --- a/configs/replace_navbar.json +++ b/configs/replace_navbar.json @@ -1,10 +1,5 @@ { "enabled": true, - "items": [ - "home", - "discover", - "feed", - "bookmarks", - "profile" - ] -} \ No newline at end of file + "default_compact": false, + "items": ["home", "discover", "feed", "bookmarks", "profile"] +} diff --git a/patches/replace_navbar.py b/patches/replace_navbar.py index 7cd2a72..c8779ad 100644 --- a/patches/replace_navbar.py +++ b/patches/replace_navbar.py @@ -20,7 +20,7 @@ from utils.smali_parser import get_smali_lines, save_smali_lines, find_smali_lin class Patch(PatchTemplate): priority: int = Field(frozen=True, exclude=True, default=0) - default_compact: bool = Field(True, description="Компактный вид по умолчанию") + default_compact: bool = Field(False, description="Компактный вид по умолчанию") items: List[str] = Field( ["home", "discover", "feed", "bookmarks", "profile"], description="Список элементов в панели навигации",