Skip to content

Commit

Permalink
Fixed buttons torch timeout summary.
Browse files Browse the repository at this point in the history
Signed-off-by: DHD2280 <[email protected]>
  • Loading branch information
DHD2280 committed Nov 14, 2024
1 parent 814d66f commit ff1d6e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1119,8 +1119,8 @@ public static String getSummary(Context fragmentCompat, @NonNull String key) {
String.valueOf(instance.mPreferences.getSliderInt("pulse_line_wave_opacity", 200));

// Buttons
case "volbtn_torch_enable_timeout" ->
instance.mPreferences.getSliderInt("volbtn_torch_enable_timeout", 5) + " s";
case "volbtn_torch_timeout" ->
instance.mPreferences.getSliderInt("volbtn_torch_timeout", 5) + fragmentCompat.getString(R.string.seconds);

default -> null;
};
Expand Down

0 comments on commit ff1d6e0

Please sign in to comment.