Skip to content

Commit

Permalink
style: Apply Spotless Format
Browse files Browse the repository at this point in the history
  • Loading branch information
8954sood committed Nov 25, 2024
1 parent 32122f2 commit 15047fe
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions dodam-teacher-ios/iosApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>3.1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>2</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,10 @@ internal fun AskOutScreen(viewModel: AskOutViewModel = koinViewModel(), popBackS
buttonRole = ButtonRole.Primary,
buttonSize = ButtonSize.Large,
enabled = !uiState.isLoading &&
((selectedItem.isOut() && outingReason.length >= 5) ||
(!selectedItem.isOut() && sleepoverReason.length >= 5)),
(
(selectedItem.isOut() && outingReason.length >= 5) ||
(!selectedItem.isOut() && sleepoverReason.length >= 5)
),
loading = uiState.isLoading,
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fun BusScreen(viewModel: BusViewModel = koinViewModel(), popBackStack: () -> Uni
type = TopAppBarType.Medium,
)
},
containerColor = DodamTheme.colors.backgroundNeutral
containerColor = DodamTheme.colors.backgroundNeutral,
) { paddingValues ->
Column(
modifier = Modifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fun WakeupSongScreen(
onBackClick = popBackStack,
)
},
containerColor = DodamTheme.colors.backgroundNeutral
containerColor = DodamTheme.colors.backgroundNeutral,
) { paddingValues ->
Box(
modifier = Modifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class EditMemberInfoViewModel : ViewModel(), KoinComponent {
_sideEffect.emit(EditMemberInfoSideEffect.SuccessEditMemberInfo)
_uiState.update {
it.copy(
isLoading = false
isLoading = false,
)
}
}
Expand All @@ -56,15 +56,15 @@ class EditMemberInfoViewModel : ViewModel(), KoinComponent {
it.error.printStackTrace()
_uiState.update {
it.copy(
isLoading = false
isLoading = false,
)
}
}

is Result.Loading -> {
_uiState.update {
it.copy(
isLoading = true
isLoading = true,
)
}
}
Expand All @@ -84,7 +84,7 @@ class EditMemberInfoViewModel : ViewModel(), KoinComponent {
is Result.Error -> {
_uiState.update {
it.copy(
isLoading = false
isLoading = false,
)
}
it.error.printStackTrace()
Expand All @@ -95,15 +95,15 @@ class EditMemberInfoViewModel : ViewModel(), KoinComponent {
println(it.data)
ui.copy(
image = it.data.profileImage,
isLoading = false
isLoading = false,
)
}
}

is Result.Loading -> {
_uiState.update {
it.copy(
isLoading = true
isLoading = true,
)
}
}
Expand Down

0 comments on commit 15047fe

Please sign in to comment.