Add floating button for conversations screen

This commit is contained in:
Pranav
2025-05-09 14:48:02 -07:00
parent 50b6c07114
commit 1a07eb50c5
6 changed files with 53 additions and 6 deletions
@@ -21,8 +21,10 @@ const actions = {
toggle({ commit, state }, key) {
commit(types.SET_UI_STATE, { key, value: !state[key] });
},
set({ commit }, key, value) {
commit(types.SET_UI_STATE, { key, value });
set({ commit }, payload) {
Object.entries(payload).forEach(([key, value]) => {
commit(types.SET_UI_STATE, { key, value });
});
},
};