Commit bf26e410 authored by Taddeus Kroes's avatar Taddeus Kroes

Made default channel list smaller

parent c87d7fec
......@@ -7,7 +7,7 @@ HOUR_WIDTH = 200
CHANNEL_LABEL_WIDTH = 180
STORAGE_CHANNELS = 'tvgids-channels'
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
......@@ -289,8 +289,7 @@ AppView = Backbone.View.extend(
Settings = new (Backbone.Model.extend(
defaults:
day: 0
favourite_channels: load_stored_list(STORAGE_CHANNELS,
_.pluck(CHANNELS, 'id'))
favourite_channels: load_stored_list(STORAGE_CHANNELS, DEFAULT_CHANNELS)
favourite_programs: load_stored_list(STORAGE_PROGRAMS, [])
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