File tree 3 files changed +5
-22
lines changed
common/src/main/kotlin/io/github/jisungbin/gitmessengerbot/common/extension
core/src/main/kotlin/io/github/sungbin/gitmessengerbot/core/bot/api
3 files changed +5
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
* GitMessengerBot © 2021 지성빈 & 구환. all rights reserved.
3
3
* GitMessengerBot license is under the GPL-3.0.
4
4
*
5
- * [UI .kt] created by Ji Sungbin on 21. 8. 30. 오후 5:06
5
+ * [toast .kt] created by Ji Sungbin on 21. 8. 30. 오후 5:06
6
6
*
7
7
* Please see: https://github.com/GitMessengerBot/GitMessengerBot-Android/blob/master/LICENSE.
8
8
*/
@@ -13,9 +13,9 @@ import android.app.Activity
13
13
import android.content.Context
14
14
import android.widget.Toast
15
15
16
- fun toast (activity : Activity , message : String , length : Int = Toast .LENGTH_SHORT ) {
17
- activity. runOnUiThread {
18
- toast(activity , message, length)
16
+ fun Activity. toast (message : String , length : Int = Toast .LENGTH_SHORT ) {
17
+ runOnUiThread {
18
+ toast(this , message, length)
19
19
}
20
20
}
21
21
Original file line number Diff line number Diff line change 2
2
* GitMessengerBot © 2021 지성빈 & 구환. all rights reserved.
3
3
* GitMessengerBot license is under the GPL-3.0.
4
4
*
5
- * [UI .kt] created by Ji Sungbin on 21. 7. 10. 오전 11:35.
5
+ * [toast .kt] created by Ji Sungbin on 21. 7. 10. 오전 11:35.
6
6
*
7
7
* Please see: https://github.com/GitMessengerBot/GitMessengerBot-Android/blob/master/LICENSE.
8
8
*/
You can’t perform that action at this time.
0 commit comments