Skip to content

Commit

Permalink
feat: updating internal
Browse files Browse the repository at this point in the history
  • Loading branch information
triandamai committed Aug 8, 2023
1 parent 0cd75ea commit 271c287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/main/java/app/trian/mvi/ui/internal/ToastMvi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ToastMvi(
}

override fun show(message: Int, vararg params: Any) {
Toast.makeText(context,context.getString(message,params),Toast.LENGTH_SHORT).show()
Toast.makeText(context,context.getString(message,*params),Toast.LENGTH_SHORT).show()
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package app.trian.mvi.ui.internal.listener

import android.widget.Toast
import androidx.annotation.StringRes
import java.util.Objects

interface ToastListener {
fun show(message: String)
Expand Down

0 comments on commit 271c287

Please sign in to comment.