INNER CODE UNIT · Dart
getHomePage
rignaneseleo/SlimSocial-for-Facebook · SlimSocial_for_Facebook/lib/controllers/fb_controller.dart:8
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,
/// and a stale `start_on_messenger` left over from before it was turned off