Skip to content

Commit a3fa7a2

Browse files
committed
Remove activated times counter
1 parent d852be9 commit a3fa7a2

File tree

5 files changed

+0
-21
lines changed

5 files changed

+0
-21
lines changed

Flow.Launcher.Infrastructure/UserSettings/Settings.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,6 @@ public bool KeepMaxResults
295295

296296
public int MaxResultsToShow { get; set; } = 5;
297297

298-
public int ActivateTimes { get; set; }
299-
300298
public ObservableCollection<CustomPluginHotkey> CustomPluginHotkeys { get; set; } = new ObservableCollection<CustomPluginHotkey>();
301299

302300
public ObservableCollection<CustomShortcutModel> CustomShortcuts { get; set; } = new ObservableCollection<CustomShortcutModel>();

Flow.Launcher/Languages/en.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@
258258
<system:String x:Key="docs">Docs</system:String>
259259
<system:String x:Key="version">Version</system:String>
260260
<system:String x:Key="icons">Icons</system:String>
261-
<system:String x:Key="about_activate_times">You have activated Flow Launcher {0} times</system:String>
262261
<system:String x:Key="checkUpdates">Check for Updates</system:String>
263262
<system:String x:Key="BecomeASponsor">Become A Sponsor</system:String>
264263
<system:String x:Key="newVersionTips">New version {0} is available, would you like to restart Flow Launcher to use the update?</system:String>

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,6 @@ private void OnLoaded(object sender, RoutedEventArgs _)
195195

196196
// Focus query box
197197
QueryTextBox.Focus();
198-
199-
// Update activate times
200-
_settings.ActivateTimes++;
201198
}
202199
});
203200
break;

Flow.Launcher/SettingPages/ViewModels/SettingsPaneAboutViewModel.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ public string CacheFolderSize
3737
_ => Constant.Version
3838
};
3939

40-
public string ActivatedTimes => string.Format(
41-
App.API.GetTranslation("about_activate_times"),
42-
_settings.ActivateTimes
43-
);
44-
4540
public SettingsPaneAboutViewModel(Settings settings)
4641
{
4742
_settings = settings;

Flow.Launcher/SettingPages/Views/SettingsPaneAbout.xaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,6 @@
111111
</Button>
112112
</StackPanel>
113113
</cc:Card>
114-
115-
<TextBlock
116-
Margin="14 20 0 0"
117-
HorizontalAlignment="Center"
118-
VerticalAlignment="Bottom"
119-
DockPanel.Dock="Bottom"
120-
FontSize="12"
121-
Foreground="{DynamicResource Color15B}"
122-
Text="{Binding ActivatedTimes}"
123-
TextWrapping="WrapWithOverflow" />
124114
</StackPanel>
125115
</ScrollViewer>
126116
</ui:Page>

0 commit comments

Comments
 (0)