Skip to content

Commit a8825c0

Browse files
committed
Spotless apply
1 parent c315591 commit a8825c0

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

sample/src/main/java/com/example/AfterpayUiGalleryActivity.kt

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright (C) 2025 Afterpay
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.example
217

318
import android.os.Bundle
@@ -22,7 +37,6 @@ class AfterpayUiGalleryActivity : AppCompatActivity() {
2237
super.onCreate(savedInstanceState)
2338
setContentView(R.layout.afterpay_ui_widgets)
2439

25-
2640
val logoContainer = findViewById<LinearLayout>(R.id.logo_container)
2741

2842
// Instantiate an AfterpayPriceBreakdown and fill it with dummy info.
@@ -33,7 +47,7 @@ class AfterpayUiGalleryActivity : AppCompatActivity() {
3347
}
3448
val params = LinearLayout.LayoutParams(
3549
LinearLayout.LayoutParams.WRAP_CONTENT,
36-
LinearLayout.LayoutParams.WRAP_CONTENT
50+
LinearLayout.LayoutParams.WRAP_CONTENT,
3751
)
3852
logoContainer.addView(breakdownView, params)
3953
}
@@ -45,8 +59,6 @@ class AfterpayUiGalleryActivity : AppCompatActivity() {
4559
}
4660
}
4761

48-
49-
5062
private fun getConfiguration() {
5163
CoroutineScope(Dispatchers.IO).launch {
5264
merchantApi().getConfiguration().apply {
@@ -70,6 +82,4 @@ class AfterpayUiGalleryActivity : AppCompatActivity() {
7082
}
7183
}
7284
}
73-
74-
7585
}

0 commit comments

Comments
 (0)