forked from upstream-mirrors/OpenTracks
Theming: activity icons are now in textColorPrimary.
And replaced spinner in StatisticsRecordedFragment.
This commit is contained in:
@@ -154,7 +154,8 @@ public class TrackIconUtils {
|
||||
* @param context the context
|
||||
* @param activityType the activity type
|
||||
*/
|
||||
public static String getIconValue(Context context, String activityType) {
|
||||
public static @NonNull
|
||||
String getIconValue(Context context, String activityType) {
|
||||
if (activityType == null || activityType.equals("")) {
|
||||
return UNKNOWN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user