@Provides @PerApp @ScalpelWireframeEnabled Observable<Boolean> provideObservableScalpelWireframeEnabled(RxSharedPreferences preferences) { return preferences.getBoolean( "debug_scalpel_wireframe_drawer", DEFAULT_SCALPEL_WIREFRAME_ENABLED); }
@Provides @PerApp @PixelRatioEnabled Observable<Boolean> provideObservablePixelRatioEnabled(RxSharedPreferences preferences) { return preferences.getBoolean("debug_pixel_ratio_enabled", DEFAULT_PIXEL_RATIO_ENABLED); }
@Provides @PerApp @ScalpelEnabled Observable<Boolean> provideObservableScalpelEnabled(RxSharedPreferences preferences) { return preferences.getBoolean("debug_scalpel_enabled", DEFAULT_SCALPEL_ENABLED); }
@Provides @PerApp @PixelGridEnabled Observable<Boolean> provideObservablePixelGridEnabled(RxSharedPreferences preferences) { return preferences.getBoolean("debug_pixel_grid_enabled", DEFAULT_PIXEL_GRID_ENABLED); }