Михаил Капелько 10 months ago
parent
commit
22a6dcfcc0
1 changed files with 5 additions and 11 deletions
  1. +5
    -11
      Modules/MeetupIdX/src/MeetupId.Shoulds.swift

+ 5
- 11
Modules/MeetupIdX/src/MeetupId.Shoulds.swift View 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…
Cancel
Save