Skip to content

转屏问题 #3

@cd711

Description

@cd711

荣军'启动时和锁屏时的方向不一样会有问题
发现是
const {width: deviceWidth, height: deviceHeight} = Dimensions.get('window')

我改了一下,,把获取屏幕大小的代码放到了constructor 搞定

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions