Skip to content

Commit 227ca64

Browse files
Updating KtLint and running it (#241)
* Updating KtLint call * Save icon * Change app name and icon * Update AboutViewModel.kt * running formatting * Adding Universal Resources (#242) * removing unused colors and adding default colors * Update Info.plist --------- Co-authored-by: Kevin Galligan <[email protected]>
1 parent 13a6a46 commit 227ca64

File tree

20 files changed

+18
-597
lines changed

20 files changed

+18
-597
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ ij_kotlin_line_break_after_multiline_when_entry = true
1111
indent_size = 4
1212
indent_style = space
1313
insert_final_newline = true
14-
parameter-list-wrapping = true
1514
ktlint_argument_list_wrapping_ignore_when_parameter_count_greater_or_equal_than = 8
1615
ktlint_chain_method_rule_force_multiline_when_chain_operator_count_greater_or_equal_than = 4
1716
ktlint_code_style = android_studio
@@ -20,5 +19,6 @@ ktlint_function_naming_ignore_when_annotated_with = Composable
2019
ktlint_function_signature_body_expression_wrapping = default
2120
ktlint_ignore_back_ticked_identifier = false
2221
max_line_length = 140
22+
parameter-list-wrapping = true
2323

2424

android/src/main/java/co/touchlab/droidcon/android/MainActivity.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ class MainActivity :
155155
if (ContextCompat.checkSelfPermission(this, Manifest.permission.POST_NOTIFICATIONS) == PackageManager.PERMISSION_GRANTED) {
156156
// Permissions already granted, nothing to do
157157
} else if (false && shouldShowRequestPermissionRationale(Manifest.permission.POST_NOTIFICATIONS)) {
158-
/* DISABLED: */
159158
// TODO: Not implemented yet: display an educational UI explaining to the user the features that will be enabled
160159
// by them granting the POST_NOTIFICATION permission. This UI should provide the user
161160
// "OK" and "No thanks" buttons. If the user selects "OK," directly request the permission.

build.gradle.kts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@ plugins {
1717
subprojects {
1818
apply(plugin = rootProject.libs.plugins.ktlint.get().pluginId)
1919

20-
ktlint {
21-
version.set("0.37.2")
22-
enableExperimentalRules.set(true)
23-
verbose.set(true)
24-
filter {
25-
exclude { it.file.path.contains("build/") }
26-
}
27-
}
28-
2920
afterEvaluate {
3021
tasks.named("check") {
3122
dependsOn(tasks.getByName("ktlintCheck"))
@@ -39,6 +30,11 @@ subprojects {
3930
}
4031
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
4132
version.set("1.4.0")
33+
enableExperimentalRules.set(true)
34+
verbose.set(true)
35+
filter {
36+
exclude { it.file.path.contains("build/") }
37+
}
4238
}
4339
}
4440

ios/Droidcon/Droidcon.xcodeproj/project.pbxproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,13 +396,14 @@
396396
CODE_SIGN_STYLE = Automatic;
397397
CURRENT_PROJECT_VERSION = 60107;
398398
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
399-
DEVELOPMENT_TEAM = 8UD86646U9;
399+
DEVELOPMENT_TEAM = "";
400400
ENABLE_BITCODE = NO;
401401
FRAMEWORK_SEARCH_PATHS = (
402402
"$(inherited)",
403403
"$(SRCROOT)/../build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)",
404404
);
405405
INFOPLIST_FILE = "$(SRCROOT)/Droidcon/Info.plist";
406+
INFOPLIST_KEY_CFBundleDisplayName = Droidcon;
406407
LD_RUNPATH_SEARCH_PATHS = (
407408
"$(inherited)",
408409
"@executable_path/Frameworks",
@@ -416,7 +417,7 @@
416417
"\"DroidconKit\"",
417418
"-lsqlite3",
418419
);
419-
PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.droidcon.ios.london;
420+
PRODUCT_BUNDLE_IDENTIFIER = com.droidcon.app;
420421
PRODUCT_NAME = "$(TARGET_NAME)";
421422
PROVISIONING_PROFILE_SPECIFIER = "";
422423
SWIFT_VERSION = 5.0;
@@ -432,13 +433,14 @@
432433
CODE_SIGN_IDENTITY = "Apple Development";
433434
CODE_SIGN_STYLE = Automatic;
434435
CURRENT_PROJECT_VERSION = 60107;
435-
DEVELOPMENT_TEAM = 8UD86646U9;
436+
DEVELOPMENT_TEAM = "";
436437
ENABLE_BITCODE = NO;
437438
FRAMEWORK_SEARCH_PATHS = (
438439
"$(inherited)",
439440
"$(SRCROOT)/../build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)",
440441
);
441442
INFOPLIST_FILE = "$(SRCROOT)/Droidcon/Info.plist";
443+
INFOPLIST_KEY_CFBundleDisplayName = Droidcon;
442444
LD_RUNPATH_SEARCH_PATHS = (
443445
"$(inherited)",
444446
"@executable_path/Frameworks",
@@ -452,7 +454,7 @@
452454
"\"DroidconKit\"",
453455
"-lsqlite3",
454456
);
455-
PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.droidcon.ios.london;
457+
PRODUCT_BUNDLE_IDENTIFIER = com.droidcon.app;
456458
PRODUCT_NAME = "$(TARGET_NAME)";
457459
PROVISIONING_PROFILE_SPECIFIER = "";
458460
SWIFT_VERSION = 5.0;

ios/Droidcon/Droidcon/Assets.xcassets/Accent.colorset/Contents.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

ios/Droidcon/Droidcon/Assets.xcassets/AttendButton.colorset/Contents.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

ios/Droidcon/Droidcon/Assets.xcassets/AttendButton_Foreground.colorset/Contents.json

Lines changed: 0 additions & 34 deletions
This file was deleted.

ios/Droidcon/Droidcon/Assets.xcassets/Attending/AttendingConflict.colorset/Contents.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

ios/Droidcon/Droidcon/Assets.xcassets/Attending/AttendingNormal.colorset/Contents.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

ios/Droidcon/Droidcon/Assets.xcassets/Attending/AttendingPast.colorset/Contents.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)