@@ -17,22 +17,20 @@ You should have received a copy of the GNU General Public License
17
17
along with ProtonVPN. If not, see <https://www.gnu.org/licenses/>.
18
18
-->
19
19
20
- <resource : BasePopupWindow x : Class =" ProtonVPN.Windows.Popups.FreeRescope.FreeRescopePopupView "
20
+ <resource : BaseModalWindow x : Class =" ProtonVPN.Modals.FreeRescopeModalView "
21
21
xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
22
22
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
23
23
xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006"
24
24
xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
25
25
xmlns : resource =" clr-namespace:ProtonVPN.Resource;assembly=ProtonVPN.Resource"
26
- xmlns : rebranding =" clr-namespace:ProtonVPN.Windows.Popups.Rebranding"
27
26
xmlns : translations =" clr-namespace:ProtonVPN.Translations;assembly=ProtonVPN.Translations"
28
27
mc : Ignorable =" d"
29
28
Title =" "
30
29
Width =" 657"
31
30
Height =" Auto"
32
31
SizeToContent =" Height"
33
- d : DataContext =" {d:DesignInstance rebranding:RebrandingPopupViewModel}"
34
- Style =" {StaticResource BasePopupWindowStyle}" >
35
- <resource : BasePopupWindow .Resources>
32
+ Style =" {StaticResource BaseWindowStyle}" >
33
+ <resource : BaseModalWindow .Resources>
36
34
<Style x : Key =" ItemTitle" TargetType =" TextBlock" >
37
35
<Setter Property =" FontSize" Value =" 16" />
38
36
<Setter Property =" Margin" Value =" 0,24,0,8" />
@@ -46,7 +44,7 @@ along with ProtonVPN. If not, see <https://www.gnu.org/licenses/>.
46
44
<Setter Property =" Foreground" Value =" {StaticResource TextWeakBrushColor}" />
47
45
<Setter Property =" TextWrapping" Value =" Wrap" />
48
46
</Style >
49
- </resource : BasePopupWindow .Resources>
47
+ </resource : BaseModalWindow .Resources>
50
48
<StackPanel HorizontalAlignment =" Center"
51
49
Margin =" 64" >
52
50
<Image Source =" pack://application:,,,/ProtonVPN.Resource;component/Graphics/Images/brand-logo-box.png"
@@ -74,4 +72,4 @@ along with ProtonVPN. If not, see <https://www.gnu.org/licenses/>.
74
72
Command =" {Binding CloseCommand}"
75
73
Content =" {translations:Loc Modals_Rescope_btn_GotIt}" />
76
74
</StackPanel >
77
- </resource : BasePopupWindow >
75
+ </resource : BaseModalWindow >
0 commit comments