INNER CODE UNIT · Dart
PrefController
rignaneseleo/SlimSocial-for-Facebook · SlimSocial_for_Facebook/lib/controllers/fb_controller.dart:7
class PrefController {
static String getHomePage() {
var initialURl = kTouchFacebookHomeUrl;
if (sp.getBool(SpKeys.useMbasic) ?? false) {
initialURl = kFacebookHomeBasicUrl;
}
if (sp.getBool(SpKeys.recentFirst) ?? false) {
return initialURl + suffixRecentFirst;
}
return initialURl + suffixDefault;
}
/// Whether a cold start should land on the Messenger screen.
///
/// The Messenger switch wins: with Messenger off there is no screen to open,