Skip to content

Conversation

@Elelan
Copy link

@Elelan Elelan commented Dec 4, 2025

No description provided.

Elelan and others added 2 commits December 4, 2025 19:27
feat: add DWeb server control to SnowbirdFragment and update service …


DwebOptionItem(
title = "My groups",

Check warning

Code scanning / detekt

Reports lines with exceeded length Warning

Exceeded max line length (120)


DwebOptionItem(
title = "My groups",

Check warning

Code scanning / detekt

Reports incorrect argument list wrapping Warning

Argument should be on a separate line (unless all arguments can fit a single line)


DwebOptionItem(
title = "My groups",

Check warning

Code scanning / detekt

Reports incorrect argument list wrapping Warning

Argument should be on a separate line (unless all arguments can fit a single line)


DwebOptionItem(
title = "My groups",

Check warning

Code scanning / detekt

Reports incorrect argument list wrapping Warning

Argument should be on a separate line (unless all arguments can fit a single line)


DwebOptionItem(
title = "My groups",

Check warning

Code scanning / detekt

Reports incorrect argument list wrapping Warning

Missing newline before ")"
} else {
MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.38f)
}
)

Check warning

Code scanning / detekt

Function names should follow the naming convention set in the configuration. Warning

Function names should match the pattern: [a-z][a-zA-Z0-9]*

Check warning

Code scanning / detekt

Function names should follow the naming convention set in the configuration. Warning

Function names should match the pattern: [a-z][a-zA-Z0-9]*

Check warning

Code scanning / detekt

Private function is unused and should be removed. Warning

Private function DwebServerPreferencePreview is unused.
}

// Give it a moment to clean up
delay(500)

Check warning

Code scanning / detekt

Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning

This expression contains a magic number. Consider defining it to a well named constant.

updateStatus(ServiceStatus.Stopped)
Timber.d("Server shutdown complete")
} catch (e: Exception) {

Check warning

Code scanning / detekt

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled. Warning

The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.
@Elelan
Copy link
Author

Elelan commented Dec 5, 2025

Invalid

@Elelan Elelan closed this Dec 5, 2025
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