IOS-1521 don't buff on background IOS-1521+IOS-1495
authorbuff <andreas@pep-project.org>
Fri, 17 May 2019 11:03:23 +0200
branchIOS-1521+IOS-1495
changeset 86598db0b20f4307
parent 8658 0904d5573fbb
child 8660 4ae7e8375c57
IOS-1521 don't buff on background
pEpForiOS/UI/Compose/ViewModel/ComposeViewModelState.swift
     1.1 --- a/pEpForiOS/UI/Compose/ViewModel/ComposeViewModelState.swift	Fri May 17 10:42:09 2019 +0200
     1.2 +++ b/pEpForiOS/UI/Compose/ViewModel/ComposeViewModelState.swift	Fri May 17 11:03:23 2019 +0200
     1.3 @@ -200,10 +200,10 @@
     1.4          DEBUG: on background
     1.5   */
     1.6  
     1.7 -        print("BUFF: before going to background")
     1.8 +//        print("COMPOSE: before going to background")
     1.9          DispatchQueue.global(qos: .userInitiated).async { [weak self] in //HERE:
    1.10              //!!!:
    1.11 -            print("BUFF: on background")
    1.12 +            print("COMPOSE: on background")
    1.13              guard let me = self else {
    1.14                  // That is a valid case. Compose view is gone before this block started to run.
    1.15                  return
    1.16 @@ -222,11 +222,11 @@
    1.17                                                               bcc: safeBcc)
    1.18              }
    1.19              //!!!:
    1.20 -            print("BUFF: did outgoingMessageRating")
    1.21 +            print("COMPOSE: did outgoingMessageRating")
    1.22              DispatchQueue.main.async {
    1.23                  me.rating = newRating
    1.24                  //!!!:
    1.25 -                print("BUFF: did newRating")
    1.26 +                print("COMPOSE: did newRating")
    1.27              }
    1.28          }
    1.29