117 lines
3 KiB
TypeScript
117 lines
3 KiB
TypeScript
// Module ID: 15743
|
|
// Function ID: 15744
|
|
// Name: route
|
|
// Dependencies: [7893, 11288, 1233, 2694, 15744, 2]
|
|
|
|
// Module 15743 (route)
|
|
import set from "set" /* 2 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1233 */;
|
|
import messagesProxyDefault from "messagesProxy" /* 2694 */;
|
|
import MobileUserSettings2 from "MobileUserSettings" /* 7893 */;
|
|
import frozen from "frozen" /* 15744 */;
|
|
import createToggle from "createToggle" /* 11288 */;
|
|
|
|
const MobileUserSettings = MobileUserSettings2.MobileUserSettings;
|
|
let obj = {
|
|
useTitle() {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(messagesProxyDefault.S5cB9e);
|
|
},
|
|
parent: MobileUserSettings.NOTIFICATIONS,
|
|
usePredicate() {
|
|
return false;
|
|
},
|
|
screen: null
|
|
};
|
|
obj = {
|
|
route: frozen.MobileNotifSettingsSections.NOTIF_REALTIME,
|
|
getComponent() {
|
|
error = new Error("Not yet supported");
|
|
throw error;
|
|
}
|
|
};
|
|
obj[3] = obj;
|
|
const route = createToggle.createRoute(obj);
|
|
const obj1 = {
|
|
useTitle() {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(messagesProxyDefault["UzRF+8"]);
|
|
},
|
|
parent: MobileUserSettings.NOTIFICATIONS,
|
|
usePredicate() {
|
|
return false;
|
|
},
|
|
screen: {
|
|
route: frozen.MobileNotifSettingsSections.NOTIF_CATEGORY_SOCIAL,
|
|
getComponent() {
|
|
error = new Error("Not yet supported");
|
|
throw error;
|
|
}
|
|
}
|
|
};
|
|
const route1 = createToggle.createRoute(obj1);
|
|
const obj3 = {
|
|
useTitle() {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(messagesProxyDefault.zRKbpz);
|
|
},
|
|
parent: MobileUserSettings.NOTIFICATIONS,
|
|
usePredicate() {
|
|
return false;
|
|
},
|
|
screen: null
|
|
};
|
|
const obj2 = {
|
|
route: frozen.MobileNotifSettingsSections.NOTIF_CATEGORY_SOCIAL,
|
|
getComponent() {
|
|
error = new Error("Not yet supported");
|
|
throw error;
|
|
}
|
|
};
|
|
obj3[3] = {
|
|
route: frozen.MobileNotifSettingsSections.NOTIF_CATEGORY_SERVER,
|
|
getComponent() {
|
|
error = new Error("Not yet supported");
|
|
throw error;
|
|
}
|
|
};
|
|
const route2 = createToggle.createRoute(obj3);
|
|
const obj5 = {
|
|
useTitle() {
|
|
const intl = getSystemLocale.intl;
|
|
return intl.string(messagesProxyDefault.q5M7HV);
|
|
},
|
|
parent: MobileUserSettings.NOTIFICATIONS,
|
|
usePredicate() {
|
|
return false;
|
|
},
|
|
screen: null
|
|
};
|
|
const obj4 = {
|
|
route: frozen.MobileNotifSettingsSections.NOTIF_CATEGORY_SERVER,
|
|
getComponent() {
|
|
error = new Error("Not yet supported");
|
|
throw error;
|
|
}
|
|
};
|
|
obj5[3] = {
|
|
route: frozen.MobileNotifSettingsSections.NOTIF_CATEGORY_OTHER,
|
|
getComponent() {
|
|
error = new Error("Not yet supported");
|
|
throw error;
|
|
}
|
|
};
|
|
const route3 = createToggle.createRoute(obj5);
|
|
const obj6 = {
|
|
route: frozen.MobileNotifSettingsSections.NOTIF_CATEGORY_OTHER,
|
|
getComponent() {
|
|
error = new Error("Not yet supported");
|
|
throw error;
|
|
}
|
|
};
|
|
const result = set.fileFinishedImporting("modules/notifications/settings/native/MobileNotifSettingsRoutes.tsx");
|
|
|
|
export const RealtimeRoute = route;
|
|
export const CategorySocialRoute = route1;
|
|
export const CategoryServerRoute = route2;
|
|
export const CategoryOtherRoute = route3;
|