adjust more UI elevent for native app

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2026-09-23 10:59:53 +03:00
1 parent 22b2e7475a
commit aa1874cdb4
7 files changed
+52 -32

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
<% if current_user.created_at > 2.weeks.ago || params[:tour] == 'true' %>
<% if !turbo_native_app? && (current_user.created_at > 2.weeks.ago || params[:tour] == 'true') %>
<% user_config = current_user.user_configs.find_or_initialize_by(key: UserConfig::SHOW_APP_TOUR) %>
<% @show_tour_start_form = user_config.new_record? && !params.key?(:tour) %>
<% if user_config.new_record? || user_config.value || params[:tour] == 'true' %>