Pārlūkot izejas kodu

commented out something

Nicholas Maidanos 6 gadus atpakaļ
vecāks
revīzija
3e7bf22f7a
1 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. 6
    6
      src/pages/channel/channel.ts

+ 6
- 6
src/pages/channel/channel.ts Parādīt failu

@@ -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 => {