Last active
July 8, 2019 13:19
-
-
Save zmdominguez/3b4047bd17f3bceda4e7b9bf70c9994c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun Context.showDebugToast(message: String, settingsInteractor: SettingsInteractor) { | |
if (settingsInteractor.shouldShowDebugToasts()) { | |
Toast.makeText(context, message, Toast.LENGTH_LONG).show() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment