Skip to content

Commit 2b182e7

Browse files
committed
Style : 코드 리뷰 반영
1 parent eefc472 commit 2b182e7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

presentation/src/main/java/com/stop/ui/alarmsetting/AlarmSettingFragment.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,16 @@ class AlarmSettingFragment : Fragment() {
2626
): View? {
2727
_binding = FragmentAlarmSettingBinding.inflate(inflater, container, false)
2828

29+
initBinding()
30+
2931
return binding.root
3032
}
3133

3234
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
3335
super.onViewCreated(view, savedInstanceState)
3436

35-
initBinding()
3637
initView()
37-
buttonClick()
38+
setButtonListener()
3839
}
3940

4041
private fun initBinding(){
@@ -54,7 +55,7 @@ class AlarmSettingFragment : Fragment() {
5455
}
5556
}
5657

57-
private fun buttonClick() {
58+
private fun setButtonListener() {
5859
with(binding) {
5960
textViewRouteContent.setOnClickListener {
6061
if (textViewTransportContent.visibility == View.VISIBLE) {

presentation/src/main/res/values/themes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<resources xmlns:tools="http://schemas.android.com/tools">
22
<!-- Base application theme. -->
3-
<style name="Theme.PlzStop" parent="Theme.MaterialComponents.Light.NoActionBar">
3+
<style name="Theme.PlzStop" parent="Theme.Material3.DayNight.NoActionBar">
44
<!-- Primary brand color. -->
55
<item name="colorPrimary">@color/purple_500</item>
66
<item name="colorPrimaryVariant">@color/purple_700</item>

0 commit comments

Comments
 (0)