diff --git a/TwoFAS/TwoFAS.xcodeproj/project.pbxproj b/TwoFAS/TwoFAS.xcodeproj/project.pbxproj index 2d451f89..39e07c2e 100644 --- a/TwoFAS/TwoFAS.xcodeproj/project.pbxproj +++ b/TwoFAS/TwoFAS.xcodeproj/project.pbxproj @@ -8312,7 +8312,7 @@ "@executable_path/Frameworks", ); MACH_O_TYPE = mh_execute; - MARKETING_VERSION = 4.0.4; + MARKETING_VERSION = 4.0.5; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; OTHER_LDFLAGS = ( "$(OTHER_LDFLAGS)", @@ -8353,7 +8353,7 @@ "@executable_path/Frameworks", ); MACH_O_TYPE = mh_execute; - MARKETING_VERSION = 4.0.4; + MARKETING_VERSION = 4.0.5; OTHER_LDFLAGS = ( "$(OTHER_LDFLAGS)", "-ObjC", @@ -8627,7 +8627,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 4.0.4; + MARKETING_VERSION = 4.0.5; PRODUCT_BUNDLE_IDENTIFIER = com.twofas.org.TwoFASAuth; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -8655,7 +8655,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 4.0.4; + MARKETING_VERSION = 4.0.5; PRODUCT_BUNDLE_IDENTIFIER = com.twofas.org.TwoFASAuth; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -8958,7 +8958,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 4.0.4; + MARKETING_VERSION = 4.0.5; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.twofas.org.TwoFASWidget; @@ -8988,7 +8988,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 4.0.4; + MARKETING_VERSION = 4.0.5; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.twofas.org.TwoFASWidget; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -9015,7 +9015,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 4.0.4; + MARKETING_VERSION = 4.0.5; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.twofas.org.TwoFASServiceIntent; @@ -9043,7 +9043,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 4.0.4; + MARKETING_VERSION = 4.0.5; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.twofas.org.TwoFASServiceIntent; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/TwoFAS/TwoFAS/Root/Main/Tokens/Interactor/TokensModuleInteractor.swift b/TwoFAS/TwoFAS/Root/Main/Tokens/Interactor/TokensModuleInteractor.swift index 47c80231..4013f236 100644 --- a/TwoFAS/TwoFAS/Root/Main/Tokens/Interactor/TokensModuleInteractor.swift +++ b/TwoFAS/TwoFAS/Root/Main/Tokens/Interactor/TokensModuleInteractor.swift @@ -391,7 +391,9 @@ private extension TokensModuleInteractor { title: category.section?.title, sectionID: category.section?.sectionID, sectionData: category.section, - isCollapsed: category.section?.isCollapsed ?? sectionInteractor.isSectionZeroCollapsed, + isCollapsed: category.section?.isCollapsed ?? ( + sectionInteractor.isSectionZeroCollapsed && !isMainOnlyCategory + ), elementCount: gridCells.count, isSearching: isSearching, position: sectionPosition(for: startIndex, currentIndex: currentIndex, totalIndex: totalIndex)