mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-25 09:10:53 +01:00
Cleanup
This commit is contained in:
parent
b91e7e9fb8
commit
3289cbd6e7
@ -294,7 +294,11 @@ abstract class VectorBaseActivity : BaseMvRxActivity() {
|
||||
* ========================================================================================== */
|
||||
|
||||
fun notImplemented(message: String = "") {
|
||||
toast(getString(R.string.not_implemented) + message.takeIf { message.isNotBlank() }?.let { ": $it" })
|
||||
if (message.isNotBlank()) {
|
||||
toast(getString(R.string.not_implemented) + ": $message")
|
||||
} else {
|
||||
toast(getString(R.string.not_implemented))
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user