Михаил Капелько 11 mesi fa
parent
commit
22a6dcfcc0
1 ha cambiato i file con 5 aggiunte e 11 eliminazioni
  1. +5
    -11
      Modules/MeetupIdX/src/MeetupId.Shoulds.swift

+ 5
- 11
Modules/MeetupIdX/src/MeetupId.Shoulds.swift Vedi File

@@ -2,17 +2,11 @@ import Foundation

public extension MeetupId {
static func shouldEnableJoin(_ c: MeetupIdContext) -> Bool? {
guard
c.textUI.isRecent ||
c.join
else {
return nil
}

if onlyFormat(c.textUI.value) == "123"{
/**/print("ИГР MeetupI.shouldEJ-1")
return true
if
c.textUI.isRecent,
let sid = onlyFormat(c.textUI.value)
{
return sid.count > 2
}

if c.join {


Loading…
Annulla
Salva