Skip to content

Commit

Permalink
[fix] detekt issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rustamsafarovrs committed Jun 25, 2024
1 parent 56453c2 commit 12eb001
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class Preferences(context: Context) {

fun getUserId() = prefs.getLong(PREFS_USER_ID, -1)


fun saveFirebaseToken(token: String) {
editor.putString(PREFS_FIREBASE_TOKEN, token).apply()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class AppModule {
}

@Provides
fun provideErrorHandler(moshi: Moshi): ErrorHandler {
return ErrorHandler(moshi)
fun provideErrorHandler(): ErrorHandler {
return ErrorHandler()
}

@Provides
Expand Down

0 comments on commit 12eb001

Please sign in to comment.