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

Allow setters #30

Merged
merged 1 commit into from
Apr 13, 2023
Merged

Allow setters #30

merged 1 commit into from
Apr 13, 2023

Conversation

gmerinojimenez
Copy link
Contributor

@gmerinojimenez gmerinojimenez commented Apr 12, 2023

Expose setters so app can modify a tweak programmatically

Internal reference ticket: ANDROID-11948

Comment on lines -109 to +110
suspend fun <T> clearValue(key: String) {
val tweakEntry = keyToEntryValueMap[key] as Editable<T>
suspend fun clearValue(key: String) {
val tweakEntry = keyToEntryValueMap[key] as Editable<*>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

cleaning. The type was useless

Copy link

@DevPabloGarcia DevPabloGarcia left a comment

Choose a reason for hiding this comment

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

Thanks!

@gmerinojimenez gmerinojimenez merged commit ecb577d into main Apr 13, 2023
@gmerinojimenez gmerinojimenez deleted the allow-setters branch April 13, 2023 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants