mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 04:11:50 +03:00
added todo tags for application container optimising
This commit is contained in:
parent
dd320e3d11
commit
e2c77a1dbb
@ -38,7 +38,7 @@ const initialState = {
|
||||
isActive: false,
|
||||
isConnected: null, // internet connectivity
|
||||
isDarkTheme: false,
|
||||
isDefaultFooter: true,
|
||||
isDefaultFooter: true, //TODO: remove present of isDefaultFooter as it's no longer in use
|
||||
isLoggedIn: false, // Has any logged in user.
|
||||
isAnalytics: false,
|
||||
isLoginDone: false,
|
||||
|
@ -235,7 +235,7 @@ class ApplicationContainer extends Component {
|
||||
|
||||
if (!isIos) BackHandler.removeEventListener('hardwareBackPress', this._onBackPress);
|
||||
|
||||
// NetInfo.isConnected.removeEventListener('connectionChange', this._handleConntectionChange);
|
||||
//TOOD: listen for back press and cancel all pending api requests;
|
||||
|
||||
Linking.removeEventListener('url', this._handleOpenURL);
|
||||
|
||||
|
@ -269,6 +269,7 @@ class SettingsContainer extends Component {
|
||||
type: actionType,
|
||||
}),
|
||||
);
|
||||
//TODO: remove setting notification settings
|
||||
setNotificationSettings({
|
||||
action,
|
||||
type: actionType,
|
||||
|
Loading…
Reference in New Issue
Block a user