chore: Link related GitHub issue to commented-out code
This commit is contained in:
parent
3020f28ef4
commit
4cc734fac9
|
@ -326,7 +326,7 @@ extension MainTabBarController {
|
||||||
tabBarLongPressGestureRecognizer.addTarget(self, action: #selector(MainTabBarController.tabBarLongPressGestureRecognizerHandler(_:)))
|
tabBarLongPressGestureRecognizer.addTarget(self, action: #selector(MainTabBarController.tabBarLongPressGestureRecognizerHandler(_:)))
|
||||||
tabBar.addGestureRecognizer(tabBarLongPressGestureRecognizer)
|
tabBar.addGestureRecognizer(tabBarLongPressGestureRecognizer)
|
||||||
|
|
||||||
// todo: reconsider the "double tap to change account" feature
|
// todo: reconsider the "double tap to change account" feature -> https://github.com/mastodon/mastodon-ios/issues/628
|
||||||
// let tabBarDoubleTapGestureRecognizer = UITapGestureRecognizer()
|
// let tabBarDoubleTapGestureRecognizer = UITapGestureRecognizer()
|
||||||
// tabBarDoubleTapGestureRecognizer.numberOfTapsRequired = 2
|
// tabBarDoubleTapGestureRecognizer.numberOfTapsRequired = 2
|
||||||
// tabBarDoubleTapGestureRecognizer.addTarget(self, action: #selector(MainTabBarController.tabBarDoubleTapGestureRecognizerHandler(_:)))
|
// tabBarDoubleTapGestureRecognizer.addTarget(self, action: #selector(MainTabBarController.tabBarDoubleTapGestureRecognizerHandler(_:)))
|
||||||
|
|
|
@ -145,7 +145,7 @@ extension SidebarViewController {
|
||||||
sidebarLongPressGestureRecognizer.addTarget(self, action: #selector(SidebarViewController.sidebarLongPressGestureRecognizerHandler(_:)))
|
sidebarLongPressGestureRecognizer.addTarget(self, action: #selector(SidebarViewController.sidebarLongPressGestureRecognizerHandler(_:)))
|
||||||
collectionView.addGestureRecognizer(sidebarLongPressGestureRecognizer)
|
collectionView.addGestureRecognizer(sidebarLongPressGestureRecognizer)
|
||||||
|
|
||||||
// todo: reconsider the "double tap to change account" feature
|
// todo: reconsider the "double tap to change account" feature -> https://github.com/mastodon/mastodon-ios/issues/628
|
||||||
// let sidebarDoubleTapGestureRecognizer = UITapGestureRecognizer()
|
// let sidebarDoubleTapGestureRecognizer = UITapGestureRecognizer()
|
||||||
// sidebarDoubleTapGestureRecognizer.numberOfTapsRequired = 2
|
// sidebarDoubleTapGestureRecognizer.numberOfTapsRequired = 2
|
||||||
// sidebarDoubleTapGestureRecognizer.addTarget(self, action: #selector(SidebarViewController.sidebarDoubleTapGestureRecognizerHandler(_:)))
|
// sidebarDoubleTapGestureRecognizer.addTarget(self, action: #selector(SidebarViewController.sidebarDoubleTapGestureRecognizerHandler(_:)))
|
||||||
|
|
Loading…
Reference in New Issue