style: Improve code formatting and consistency

Code formatting improvements across multiple files:

1. databaseUtil.ts:
   - Convert single quotes to double quotes for string literals
   - Maintain consistency with project style guidelines

2. CapacitorPlatformService.ts:
   - Convert single quotes to double quotes for string literals
   - Align with TypeScript formatting standards

3. NewEditProjectView.vue:
   - Improve code formatting for error handling lambda
   - Better readability with proper line breaks and indentation

These changes improve code consistency and readability without
affecting functionality. All changes follow project style guidelines.
This commit is contained in:
Matthew Raymer
2025-06-27 06:47:22 +00:00
parent bd2cb1301a
commit c13008d476
3 changed files with 10 additions and 8 deletions

View File

@@ -184,11 +184,11 @@ export class CapacitorPlatformService implements PlatformService {
if (param === null || param === undefined) {
return null;
}
if (typeof param === 'object' && param !== null) {
if (typeof param === "object" && param !== null) {
// Convert objects and arrays to JSON strings
return JSON.stringify(param);
}
if (typeof param === 'boolean') {
if (typeof param === "boolean") {
// Convert boolean to integer (0 or 1)
return param ? 1 : 0;
}