Skip to content

Commit

Permalink
Fix some formatting
Browse files Browse the repository at this point in the history
TacoTheDank committed Apr 26, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e7f338d commit f1c153f
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 5 additions & 1 deletion app/src/main/java/tk/wasdennnoch/scoop/data/app/App.kt
Original file line number Diff line number Diff line change
@@ -2,7 +2,11 @@ package tk.wasdennnoch.scoop.data.app

import android.graphics.drawable.Drawable

class App internal constructor(val icon: Drawable, val name: String, val packageName: String) {
class App internal constructor(
val icon: Drawable,
val name: String,
val packageName: String
) {
@JvmField
var selected = false
override fun toString(): String {
Original file line number Diff line number Diff line change
@@ -4,7 +4,8 @@ import android.os.Build
import android.view.View

class ToolbarElevationHelper @JvmOverloads constructor(
scrollingView: View, private val targetView: View,
scrollingView: View,
private val targetView: View,
private val targetElevation: Float = targetView.elevation
) {

Original file line number Diff line number Diff line change
@@ -42,7 +42,9 @@ import tk.wasdennnoch.scoop.R
*/

class CenteredToolbar @JvmOverloads constructor(
context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.toolbarStyle
context: Context,
attrs: AttributeSet? = null,
defStyleAttr: Int = R.attr.toolbarStyle
) : Toolbar(context, attrs, defStyleAttr) {

private var mTitleTextView: AppCompatTextView? = null

0 comments on commit f1c153f

Please sign in to comment.