Refactoring to put adaptiveDash in constant