mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
improve network error handling/messaging
This commit is contained in:
7
app/util/toast.ts
Normal file
7
app/util/toast.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { ToastAndroid } from 'react-native'
|
||||
|
||||
function toast(message: string) {
|
||||
ToastAndroid.showWithGravityAndOffset(message, ToastAndroid.SHORT, ToastAndroid.BOTTOM, 0, 180)
|
||||
}
|
||||
|
||||
export default toast
|
||||
Reference in New Issue
Block a user