INNER CODE UNIT · Dart

_clampTextZoom

rignaneseleo/SlimSocial-for-Facebook · SlimSocial_for_Facebook/lib/controllers/fb_controller.dart:111

  static int _clampTextZoom(int textZoom) {
    if (textZoom < kMinTextZoom) return kMinTextZoom;
    if (textZoom > kMaxTextZoom) return kMaxTextZoom;
    return textZoom;
  }

  static String? getUserCustomCss() {
    final customCss = _getOverride(SpKeys.customCss);
    if (customCss != null) debugPrint("Using custom css: $customCss");
    return customCss;
  }

  static String? getUserCustomJs() {
    final customJs = _getOverride(SpKeys.customJs);
    if (customJs != null) debugPrint("Using custom js: $customJs");
    return customJs;
  }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…