Commit c2b77d6e authored by Leonardo Aramaki's avatar Leonardo Aramaki

Change method called to get NotificationManager to work below api 23

parent 3a91f0c8
...@@ -261,7 +261,8 @@ class AppModule { ...@@ -261,7 +261,8 @@ class AppModule {
SharedPreferencesAccountsRepository(preferences, moshi) SharedPreferencesAccountsRepository(preferences, moshi)
@Provides @Provides
fun provideNotificationManager(context: Context): NotificationManager = context.systemService() fun provideNotificationManager(context: Context): NotificationManager =
context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
@Provides @Provides
@Singleton @Singleton
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment