()
| 87 | } |
| 88 | |
| 89 | func (o *iframe) DragEnd() { |
| 90 | /* |
| 91 | if engram.Disk != nil { |
| 92 | if nav.CurX > nav.PosX+30 { |
| 93 | if session.Domain == "app.wallet" { |
| 94 | session.Window.SetContent(layoutTransition()) |
| 95 | session.Window.SetContent(layoutIdentity()) |
| 96 | } else if session.Domain == "app.cyberdeck" { |
| 97 | session.Window.SetContent(layoutTransition()) |
| 98 | session.Window.SetContent(layoutDashboard()) |
| 99 | } |
| 100 | } else if nav.CurX < nav.PosX-30 { |
| 101 | if session.Domain == "app.wallet" { |
| 102 | session.Window.SetContent(layoutTransition()) |
| 103 | session.Window.SetContent(layoutCyberdeck()) |
| 104 | } else if session.Domain == "app.Identity" { |
| 105 | session.Window.SetContent(layoutTransition()) |
| 106 | session.Window.SetContent(layoutDashboard()) |
| 107 | } |
| 108 | } else if nav.CurY > nav.PosY+30 { |
| 109 | if session.Domain == "app.wallet" { |
| 110 | session.Window.SetContent(layoutTransition()) |
| 111 | session.Window.SetContent(layoutTransfers()) |
| 112 | } else if session.Domain == "app.messages" { |
| 113 | session.Window.SetContent(layoutTransition()) |
| 114 | session.Window.SetContent(layoutDashboard()) |
| 115 | } else if session.Domain == "app.messages.contact" { |
| 116 | session.Window.SetContent(layoutTransition()) |
| 117 | session.Window.SetContent(layoutMessages()) |
| 118 | } |
| 119 | } else if nav.CurY < nav.PosY-30 { |
| 120 | if session.Domain == "app.wallet" { |
| 121 | session.Window.SetContent(layoutTransition()) |
| 122 | session.Window.SetContent(layoutMessages()) |
| 123 | } else if session.Domain == "app.transfers" { |
| 124 | session.Window.SetContent(layoutTransition()) |
| 125 | session.Window.SetContent(layoutDashboard()) |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | nav.PosX = 0 |
| 130 | nav.PosY = 0 |
| 131 | } |
| 132 | */ |
| 133 | if engram.Disk != nil { |
| 134 | if nav.CurY > nav.PosY+30 { |
| 135 | if session.Domain == "app.messages" { |
| 136 | session.Window.SetContent(layoutTransition()) |
| 137 | session.Window.SetContent(layoutMessages()) |
| 138 | } else if session.Domain == "app.messages.contact" { |
| 139 | session.Window.SetContent(layoutTransition()) |
| 140 | session.Window.SetContent(layoutPM()) |
| 141 | } else if session.Domain == "app.Identity" { |
| 142 | session.Window.SetContent(layoutTransition()) |
| 143 | session.Window.SetContent(layoutIdentity()) |
| 144 | } |
| 145 | } |
| 146 | } |
nothing calls this directly
no test coverage detected