mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-08-15 19:56:02 +00:00
made Settings and DebugMode a Singleton
This commit is contained in:
@@ -34,12 +34,6 @@ public class UiModule {
|
||||
|
||||
private static final int NUM_SCHEDULER_THREADS = 4;
|
||||
|
||||
@Provides
|
||||
@FxApplicationScoped
|
||||
Settings provideSettings(SettingsProvider settingsProvider) {
|
||||
return settingsProvider.get();
|
||||
}
|
||||
|
||||
@Provides
|
||||
@FxApplicationScoped
|
||||
ScheduledExecutorService provideScheduledExecutorService(@Named("shutdownTaskScheduler") Consumer<Runnable> shutdownTaskScheduler) {
|
||||
|
||||
Reference in New Issue
Block a user