Skip to content

Refactor saveServer Method to Improve Null-Safety and Readability#3773

Merged
2dust merged 1 commit into2dust:masterfrom
codewithtamim:fix/refactor-saveServer-null-safety
Oct 25, 2024
Merged

Refactor saveServer Method to Improve Null-Safety and Readability#3773
2dust merged 1 commit into2dust:masterfrom
codewithtamim:fix/refactor-saveServer-null-safety

Conversation

@codewithtamim
Copy link
Copy Markdown
Contributor

Refactored the saveServer method in RoutingEditActivity to improve null-safety and readability by using apply and takeIf. This ensures cleaner and more concise code while processing user inputs like domain, ip, protocol, and network.

Refactored the saveServer method in RoutingEditActivity to improve null-safety and readability by using apply and takeIf. This ensures cleaner and more concise code while processing user inputs like domain, ip, protocol, and network.
@2dust 2dust merged commit 490ea59 into 2dust:master Oct 25, 2024
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