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="Список элементов в панели навигации",