Commit bf26e410 authored by Taddeus Kroes's avatar Taddeus Kroes

Made default channel list smaller

parent c87d7fec
...@@ -7,7 +7,7 @@ HOUR_WIDTH = 200 ...@@ -7,7 +7,7 @@ HOUR_WIDTH = 200
CHANNEL_LABEL_WIDTH = 180 CHANNEL_LABEL_WIDTH = 180
STORAGE_CHANNELS = 'tvgids-channels' STORAGE_CHANNELS = 'tvgids-channels'
STORAGE_PROGRAMS = 'tvgids-programs' STORAGE_PROGRAMS = 'tvgids-programs'
#SCROLL_MULTIPLIER = HOUR_WIDTH DEFAULT_CHANNELS = _.map([1, 2, 3, 4, 31, 46, 92, 36, 37, 34, 29, 18], String)
# #
# Utils # Utils
...@@ -289,8 +289,7 @@ AppView = Backbone.View.extend( ...@@ -289,8 +289,7 @@ AppView = Backbone.View.extend(
Settings = new (Backbone.Model.extend( Settings = new (Backbone.Model.extend(
defaults: defaults:
day: 0 day: 0
favourite_channels: load_stored_list(STORAGE_CHANNELS, favourite_channels: load_stored_list(STORAGE_CHANNELS, DEFAULT_CHANNELS)
_.pluck(CHANNELS, 'id'))
favourite_programs: load_stored_list(STORAGE_PROGRAMS, []) favourite_programs: load_stored_list(STORAGE_PROGRAMS, [])
selected_program: null selected_program: null
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment