Explorar el Código

commented out something

Nicholas Maidanos hace 6 años
padre
commit
3e7bf22f7a
Se han modificado 1 ficheros con 6 adiciones y 6 borrados
  1. 6
    6
      src/pages/channel/channel.ts

+ 6
- 6
src/pages/channel/channel.ts Ver fichero

@@ -41,7 +41,7 @@ export class ChannelPage {
41 41
     private channelProvider: ChannelProvider,
42 42
   ) {
43 43
       this.getMessages();
44
-      this.getChannels();
44
+      //this.getChannels();
45 45
   }
46 46
 
47 47
   ionViewDidLoad() {
@@ -60,11 +60,11 @@ export class ChannelPage {
60 60
     });
61 61
   }
62 62
 
63
-  getChannels(){
64
-    this.timerToken = setInterval(this.channelProvider.get(channels => {
65
-      this.channels = channels;
66
-    }), 5000);
67
-  }
63
+  // getChannels(){
64
+  //   this.timerToken = setInterval(this.channelProvider.get(channels => {
65
+  //     this.channels = channels;
66
+  //   }), 5000);
67
+  // }
68 68
   
69 69
   runningLoopOfMessages(channelProvider: ChannelProvider) {
70 70
     this.messageProvider.get(1, after => {