Skip to content

Commit

Permalink
Subscribe still doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
Release-Candidate committed Apr 17, 2021
1 parent 45c56af commit a810287
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Tzolkin.Android/Properties/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="13" android:versionName="0.9.13" package="com.RC.Tzolkin" android:installLocation="auto">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="14" android:versionName="0.9.14" package="com.RC.Tzolkin" android:installLocation="auto">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30" />
<application android:label="Tzolkin" android:icon="@drawable/icon"></application>
</manifest>
5 changes: 3 additions & 2 deletions src/Tzolkin/Tzolkin.fs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ module TzolkinApp =
#endif

// Why is this called instead of the handler function?
// dispatch (Msg.SetAppTheme Application.Current.RequestedTheme)
dispatch (Msg.SetAppTheme Application.Current.RequestedTheme)

Application.Current.RequestedThemeChanged.Add (fun args -> dispatch (Msg.SetAppTheme args.RequestedTheme))
//Application.Current.RequestedThemeChanged.Add (fun args ->
// dispatch (Msg.SetAppTheme args.RequestedTheme))

//Application.Current.RequestedThemeChanged.AddHandler (
// EventHandler<AppThemeChangedEventArgs>
Expand Down

0 comments on commit a810287

Please sign in to comment.