Skip to content

Commit

Permalink
Remove redundant variable
Browse files Browse the repository at this point in the history
This context variable is duplication of the already defined context
variable in line 50, so there's simply no reason to put it here.
  • Loading branch information
validcube committed Oct 8, 2023
1 parent d2a34e4 commit 47fb7a5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ fun PreferencesDashboard() {
route = Routes.QUICKSTEP
)
}

val context = LocalContext.current

PreferenceCategory(
label = stringResource(R.string.about_label),
description = "${context.getString(R.string.derived_app_name)} ${BuildConfig.MAJOR_VERSION}",
Expand Down

0 comments on commit 47fb7a5

Please sign in to comment.