Skip to content

Commit eed1e4d

Browse files
committed
Improve javadoc
1 parent 72d9025 commit eed1e4d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

dynamic-support/src/main/java/com/pranavpandey/android/dynamic/support/setting/base/DynamicSpinnerPreference.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018-2022 Pranav Pandey
2+
* Copyright 2018-2024 Pranav Pandey
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -260,9 +260,9 @@ public void setPopupType(@DynamicPopup.Type int popupType) {
260260
}
261261

262262
/**
263-
* Returns the default value of this preference.
263+
* Returns the value of this preference.
264264
*
265-
* @return The default value of this preference.
265+
* @return The value of this preference.
266266
*/
267267
public @Nullable String getPreferenceValue() {
268268
if (getPreferenceKey() == null || getValues() == null) {

dynamic-support/src/main/java/com/pranavpandey/android/dynamic/support/setting/theme/DynamicNightThemePreference.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018-2022 Pranav Pandey
2+
* Copyright 2018-2024 Pranav Pandey
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,12 +36,12 @@
3636
* A {@link DynamicThemePreference} to display the night theme settings.
3737
* <p>It will automatically set the theme type to night.
3838
*
39+
* @see Theme#NIGHT
40+
* @see com.pranavpandey.android.dynamic.theme.AppTheme#setType(int)
41+
*
3942
* <p>It will automatically adjust the values according to the available API.
4043
* <p>{@link Theme.Night#BATTERY} will be available for API 21 and above.
4144
* <p>{@link Theme.Night#SYSTEM} will be available for API 28 and above.
42-
*
43-
* @see Theme#NIGHT
44-
* @see com.pranavpandey.android.dynamic.theme.AppTheme#setType(int)
4545
*/
4646
public class DynamicNightThemePreference extends DynamicThemePreference {
4747

0 commit comments

Comments
 (0)