export function adaptiveToast(title, iconWhenShort = 'error', centered = true) {
	if (!title) return
	const useIcon = title.length <= 4 ? iconWhenShort : 'none'
	uni.showToast({
		title,
		icon: useIcon,
		position: centered
	})
}
