Repository navigation
Conversation
40c9c10 to
239695f
Compare
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
…oud#17158) Signed-off-by: rack0911 <232092783+rack0911@users.noreply.github.com>
239695f to
65d5993
Compare
Resolves #17158.
Summary
Following the migration from
SwitchCompatto Material 3MaterialSwitch, several screens continued invokingviewThemeUtils.androidx.colorSwitchCompat(...). BecausecolorSwitchCompatdoes not apply Material 3 switch color states, toggles in Contacts/Calendar backup, file sharing, and synced folder settings fell back to default system tints rather than adopting the user's theme accent color.This PR updates these screens to invoke
viewThemeUtils.material.colorMaterialSwitch(...).Changes
BackupFragment.kt: Updatecontacts,calendar, anddailyBackuptoggles to useviewThemeUtils.material.colorMaterialSwitch(...).FileDetailsSharingProcessFragment.kt: UpdateshareProcessSetPasswordSwitch,shareProcessSetExpDateSwitch,shareProcessSetDownloadLimitSwitch,shareProcessHideDownloadCheckbox, andshareProcessChangeNameSwitchto useviewThemeUtils.material.colorMaterialSwitch(...).SyncedFolderPreferencesDialogFragment.kt: UpdatesyncEnabledswitch to useviewThemeUtils.material.colorMaterialSwitch(...).🏁 Checklist