mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-06 02:40:15 +00:00
15 lines
355 B
JavaScript
15 lines
355 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {DeviceTypes} from 'app/constants';
|
|
|
|
export default function height(state = 0, action) {
|
|
switch (action.type) {
|
|
case DeviceTypes.STATUSBAR_HEIGHT_CHANGED:
|
|
return action.data;
|
|
default:
|
|
return state;
|
|
}
|
|
}
|
|
|