refactor: unify note, post and nav actions
There was a bunch of redundant responses. Let's unify them under the RenderNavAction enum. We unify all action processing under this type. This also centralizes all of our side effects into a single function instead of scattering them everywhere
This commit is contained in:
@@ -261,9 +261,6 @@ impl SerializableColumns {
|
||||
Route::Timeline(TimelineRoute::Thread(_thread)) => {
|
||||
// TODO: open thread before pushing route
|
||||
}
|
||||
Route::Profile(_profile) => {
|
||||
// TODO: open profile before pushing route
|
||||
}
|
||||
_ => routes.push(*route),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user