mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 01:49:30 +08:00
修复 android 提醒红点问题
This commit is contained in:
parent
56093ba57f
commit
57f3be658f
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,6 @@
|
|||
android:allowBackup="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:launchMode="singleTask"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
android:theme="@style/AppTheme">
|
||||
<activity
|
||||
|
@ -24,6 +23,7 @@
|
|||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
||||
android:label="@string/app_name"
|
||||
android:screenOrientation="portrait"
|
||||
android:launchMode="singleTask"
|
||||
android:windowSoftInputMode="adjustResize">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
|
|
@ -160,7 +160,7 @@ export default class NotificationPage extends Component {
|
|||
}
|
||||
Navigation.mergeOptions(this.props.componentId, {
|
||||
bottomTab: {
|
||||
badge: msgCount > 0 ? msgCount.toString() : null,
|
||||
badge: msgCount > 0 ? msgCount.toString() : (Platform.OS === 'ios' ? null : ''),
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue