Set initial flag on new categories (#7800)

- Use the same flag as other categories
- Per-category uses the flag the user used before starting to use per-category
This commit is contained in:
Andreas
2022-08-18 20:06:52 +02:00
committed by GitHub
parent 09abfc7843
commit 4228bbb88e
2 changed files with 11 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ class DomainModule : InjektModule {
addFactory { ResetCategoryFlags(get(), get()) }
addFactory { SetDisplayModeForCategory(get(), get()) }
addFactory { SetSortModeForCategory(get(), get()) }
addFactory { CreateCategoryWithName(get()) }
addFactory { CreateCategoryWithName(get(), get()) }
addFactory { RenameCategory(get()) }
addFactory { ReorderCategory(get()) }
addFactory { UpdateCategory(get()) }