unused
restore
refactor is_mobile and is_eventsonly