Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed the space preference issue in setting:preference #7992

Closed
wants to merge 1 commit into from

Conversation

criticalAY
Copy link

@criticalAY criticalAY commented Jan 23, 2023

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

Updated the preference file to Fix #7989

Motivation and context

Fixes #7989

Screenshots / GIFs

Screenshot_9

Tests

  • Step 1
  • Step 2
  • Step ...

Tested devices

  • Physical
  • Emulator
  • OS version(s):

Checklist

Signed-off-by: Ashish Yadav [email protected]

@criticalAY criticalAY changed the title fixed the space prefernce issue in setting:preference fixed the space preference issue in setting:preference Jan 23, 2023
@bmarty bmarty added the Z-Community-PR Issue is solved by a community member's PR label Jan 24, 2023
@bmarty bmarty requested review from a team and yostyle and removed request for a team January 24, 2023 13:39
@yostyle yostyle requested a review from mnaturel February 8, 2023 09:19
@yostyle
Copy link
Contributor

yostyle commented Feb 8, 2023

@criticalAY thanks for your work. I need to check some points with @mnaturel to approve it.

@criticalAY
Copy link
Author

Sure!

@@ -103,8 +103,8 @@ class VectorSettingsPreferencesFragment :
}

findPreference<Preference>(VectorPreferences.SETTINGS_PREF_SPACE_CATEGORY)!!.let { pref ->
pref.isVisible = !vectorFeatures.isNewAppLayoutFeatureEnabled()
pref.isEnabled = !vectorPreferences.isNewAppLayoutEnabled()
pref.isVisible = vectorFeatures.isNewAppLayoutFeatureEnabled()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The setting should not be visible in the new app layout. You can find the fix in #8160

@mnaturel
Copy link
Contributor

Hi @criticalAY, thanks for your PR but I am closing it as I have fixed the issue in #8160. You can find my explanation here.

@mnaturel mnaturel closed this Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Space setting category doesn't show up
4 participants